Coder Social home page Coder Social logo

fmxexpress / ai-translate Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 8.0 1.69 MB

Cross platform tool to translate between over 100 world languages using GPT-3.5, GPT-4, and Vicuna-13b.

Home Page: https://www.fmxexpress.com/

License: MIT License

Pascal 100.00%
ai artificial-intelligence delphi gpt-3-5-turbo gpt-4 gpt-4-api llm object-pascal replicate-api translate vicuna-13b windows ai-translator

ai-translate's Introduction

AI-Translate

Cross platform tool to translate between over 100 world languages using GPT-3.5, GPT-4, and Vicuna-13b.

Language Models supported:

  • vicuna-13b
  • gpt-4 - OpenAI
  • gpt-4-0613 - OpenAI
  • gpt-4-32k - OpenAI
  • gpt-4-32k-0613 - OpenAI
  • gpt-3.5-turbo - OpenAI
  • gpt-3.5-turbo-16k - OpenAI
  • llama70b-v2-chat
  • llama13b-v2-chat
  • falcon-40b-instruct

Built with Delphi using the FireMonkey framework this client works on Windows, macOS, and Linux (and maybe Android+iOS) with a single codebase and single UI. At the moment it is specifically set up for Windows.

It features a REST integration with Replicate.com and OpenAI for providing generative text functionality within the client. You need to sign up for an API keys to access that functionality. Replicate models can be run in the cloud or locally via docker.

docker run -d -p 5000:5000 --gpus=all r8.im/replicate/vicuna-13b@sha256:6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b
curl http://localhost:5000/predictions -X POST -H "Content-Type: application/json" \
  -d '{"input": {
    "prompt": "...",
    "max_length": "...",
    "temperature": "...",
    "top_p": "...",
    "repetition_penalty": "...",
    "seed": "...",
    "debug": "..."
  }}'

World Languages supported:

  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • English
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Kinyarwanda
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Odia (Oriya)
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Tatar
  • Telugu
  • Thai
  • Turkish
  • Turkmen
  • Ukrainian
  • Urdu
  • Uyghur
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu

AI Translate Desktop client Screeshot on Windows

AI Translate Desktop client on Windows

AI ToolKit

Stable Diffusion Desktop Client

CodeDroidAI

ControlNet Sketch To Image

AutoBlogAI

AI Code Translator

AI Playground

Song Writer AI

Stable Diffusion Text To Image Prompts

Generative AI Prompts

Dreambooth Desktop Client

Text To Vector Desktop Client

ai-translate's People

Contributors

fmxexpress avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ai-translate's Issues

docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

Hello.

I've tried to install it on my Machine (running Ubuntu 23.10) but I got the error that you see...

root@Z390-AORUS-PRO-DEST:/home/ziomario/Scaricati/AI-Translate# docker run -d -p 5000:5000 --gpus=all
r8.im/replicate/vicuna-13b@sha256:6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b

Unable to find image 'r8.im/replicate/vicuna-13b@sha256:6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b' locally r8.im/replicate/vicuna-13b@sha256:6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b: 
Pulling from replicate/vicuna-13b
6e3729cf69e0: Pulling fs layer 
c89936af62a8: Pulling fs layer 
b595f36bc0d6: Pulling fs layer 
9ea0b6ba6346: Waiting 
c7a5f76dbf21: Waiting 
0ace61bc365d: Pull complete 
95f141d14ca3: Pull complete 
f84bdfb69b68: Pull complete 
dca2c161474f: Pull complete 
950bb921b86b: Pull complete 
7d1f97c11b6b: Pull complete 
dabfe2404e84: Pull complete 
7b13d367d884: Pull complete 
375bf25ece8d: Pull complete 
911e8a9c1d45: Pull complete 
4c723659f6a5: Pull complete 
517a351fa015: Pull complete 
d042c2140c35: Pull complete 
4edc9bee62c9: Pull complete 
8b10860cd8b8: Pull complete 
d5be5b124544: Pull complete 
e836f3e2ebd0: Pull complete 
4bf9f24a42e4: Pull complete 
2d5e4dfbc1bd: Pull complete 
Digest: sha256:6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b
Status: Downloaded newer image for r8.im/replicate/vicuna-13b@sha256:6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b
60ccf389d3b3b9c10045231d9d20bc2e8e02706812a1121cac3d0d33daeb16ba
**docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].**

why that error ? I have two graphic cards...one of them is good...the geforce RTX 2080 ti ; the nvidia driver works,CUDA works...can you explain to me why I get that error ? thanks.

root@Z390-AORUS-PRO-DEST:/home/ziomario/Scaricati/AI-Translate# nvidia-smi
Wed Jan 10 14:24:53 2024       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce GTX 1060 3GB    Off | 00000000:01:00.0  On |                  N/A |
| 53%   35C    P0              30W / 120W |    375MiB /  3072MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA GeForce RTX 2080 Ti     Off | 00000000:02:00.0 Off |                  N/A |
| 30%   32C    P8              21W / 250W |      6MiB / 11264MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2988      G   /usr/lib/xorg/Xorg                          191MiB |
|    0   N/A  N/A      3286      G   xfwm4                                         2MiB |
|    0   N/A  N/A      3315      G   /usr/lib/firefox/firefox                    176MiB |
|    1   N/A  N/A      2988      G   /usr/lib/xorg/Xorg                            4MiB |
+---------------------------------------------------------------------------------------+

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.