Instructions to use yanolja/YanoljaNEXT-Rosetta-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yanolja/YanoljaNEXT-Rosetta-12B 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="yanolja/YanoljaNEXT-Rosetta-12B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("yanolja/YanoljaNEXT-Rosetta-12B") model = AutoModelForCausalLM.from_pretrained("yanolja/YanoljaNEXT-Rosetta-12B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- a81fa217b67ef4a1992b48a47651c27a2a19df419eafd1aad9c0bbd5ff49bde3
- Size of remote file:
- 4.69 MB
- SHA256:
- 1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.