Translation
Transformers
Safetensors
llama
text-generation
multilingual
lora
astheraltranslate
text-generation-inference
Instructions to use SEE7/AstheralTranslate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEE7/AstheralTranslate 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="SEE7/AstheralTranslate")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SEE7/AstheralTranslate") model = AutoModelForCausalLM.from_pretrained("SEE7/AstheralTranslate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,515 Bytes
2c5fc66 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | {
"status": "complete",
"model": "SEE7/AstheralTranslate",
"weights_revision": "f9e5dcb2581f10f4646c5d9cf83836723adf08f5",
"space_revision": "88a2f11a67801228fe3cebafe63795399806ec89",
"space_hardware": "zero-a10g",
"browser_tests": {
"targets": [
"German",
"French",
"Spanish",
"Italian",
"Portuguese"
],
"routing": "passed",
"language_persistence": "passed",
"browser_errors": []
},
"live_translations": [
{
"target": "German",
"source": "The train leaves at eight in the morning.",
"translation": " Der Zug fährt um acht Uhr morgens ab.",
"seconds": 6.315353714000594
},
{
"target": "French",
"source": "The train leaves at eight in the morning.",
"translation": " Le train part à huit heures du matin.",
"seconds": 1.0676599689995783
},
{
"target": "Spanish",
"source": "The train leaves at eight in the morning.",
"translation": " El tren sale a las ocho de la mañana.",
"seconds": 0.9643799550003678
},
{
"target": "Italian",
"source": "The train leaves at eight in the morning.",
"translation": " Il treno parte alle otto del mattino.",
"seconds": 1.1017699929998344
},
{
"target": "Portuguese",
"source": "The train leaves at eight in the morning.",
"translation": " O comboio parte às oito da manhã.",
"seconds": 1.028976220000004
}
],
"owner_quota_verified": true
} |