Instructions to use DevWorld/Gemago-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DevWorld/Gemago-2b with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="DevWorld/Gemago-2b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DevWorld/Gemago-2b") model = AutoModelForCausalLM.from_pretrained("DevWorld/Gemago-2b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload model-00002-of-00002.safetensors with huggingface_hub
Verified signaturef5f17de -
Upload special_tokens_map.json with huggingface_hub
Verified signatureaabdcbd -
Upload model-00002-of-00002.safetensors with huggingface_hub
Verified signaturea2f8a5c -
Upload model-00001-of-00002.safetensors with huggingface_hub
Verified signature629b4c3
-
Update README.md
Verified signature1219e41 -
Update README.md
Verified signatureAdd some widget examples40fff1e -
Update README.md
Verified signatureNot keras now, we use transformers at this time.96e52fb
-
Upload config.json with huggingface_hub
Verified signature76bed5c -
Upload model-00002-of-00002.safetensors with huggingface_hub
Verified signaturea549157 -
Upload model-00001-of-00002.safetensors with huggingface_hub
Verified signature6c69951 -
Upload model.safetensors.index.json with huggingface_hub
Verified signatured735154 -
Upload special_tokens_map.json with huggingface_hub
Verified signature97e6f2d -
Upload tokenizer_config.json with huggingface_hub
Verified signature907b427 -
Upload tokenizer.model with huggingface_hub
Verified signature2e7b757 -
Upload tokenizer.json with huggingface_hub
Verified signature440b025 -
Upload tokenizer.model with huggingface_hub
Verified signature972f1ce -
Upload generation_config.json with huggingface_hub
Verified signatureba47922
-
Update README.md
Verified signature046a589 -
Update README.md
Verified signature83cfecc -
initial commit
Verified signatureb20e65d