Translation
Transformers
Safetensors
English
Italian
llama
text-generation
text-generation-inference
Instructions to use puettmann/SmolMaestra-1.7b-Translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use puettmann/SmolMaestra-1.7b-Translation 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="puettmann/SmolMaestra-1.7b-Translation")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("puettmann/SmolMaestra-1.7b-Translation") model = AutoModelForMultimodalLM.from_pretrained("puettmann/SmolMaestra-1.7b-Translation") - Notebooks
- Google Colab
- Kaggle
Leonard Püttmann commited on
Upload LlamaForCausalLM
Browse files- config.json +1 -1
- model.safetensors +3 -0
config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"rope_scaling": null,
|
| 25 |
"rope_theta": 130000,
|
| 26 |
"tie_word_embeddings": true,
|
| 27 |
-
"torch_dtype": "
|
| 28 |
"transformers.js_config": {
|
| 29 |
"kv_cache_dtype": {
|
| 30 |
"fp16": "float16",
|
|
|
|
| 24 |
"rope_scaling": null,
|
| 25 |
"rope_theta": 130000,
|
| 26 |
"tie_word_embeddings": true,
|
| 27 |
+
"torch_dtype": "float16",
|
| 28 |
"transformers.js_config": {
|
| 29 |
"kv_cache_dtype": {
|
| 30 |
"fp16": "float16",
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:defdb46c2682ec9ebeda059c660dbab2754820c19eb798b0256277529f3044f9
|
| 3 |
+
size 3422777736
|