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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 71b619e28f240aa8672f3cb62df701f644e8c4b56a0445a1f39545d00da8ed18
- Size of remote file:
- 17.5 MB
- SHA256:
- c15eb04bc5ad609fb26533e8525302c5640a945e5f67f65b7c849900acda7d99
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.