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")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DevWorld/Gemago-2b") model = AutoModelForCausalLM.from_pretrained("DevWorld/Gemago-2b") - Notebooks
- Google Colab
- Kaggle
Upload model-00001-of-00002.safetensors with huggingface_hub
Browse files
model-00001-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3997292480
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e839c02e2fdd9837f746e52184dc3a8e9d60b6db6080550bcce37106e874561d
|
| 3 |
size 3997292480
|