Instructions to use ModelSpace/GemmaX2-28-9B-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ModelSpace/GemmaX2-28-9B-v0.1 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="ModelSpace/GemmaX2-28-9B-v0.1")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ModelSpace/GemmaX2-28-9B-v0.1") model = AutoModelForCausalLM.from_pretrained("ModelSpace/GemmaX2-28-9B-v0.1") - Notebooks
- Google Colab
- Kaggle
Multi-line translation problem
2
#8 opened about 1 year ago
by
ZhaoYundi
only 8000t context length
#7 opened about 1 year ago
by
kalle07
Plans to expand languages?
2
#6 opened about 1 year ago
by
RASMUS
Gemma-3
1
#5 opened about 1 year ago
by
Maiernator
VLLM or SGLang?
2
#3 opened over 1 year ago
by
dipta007
gguf量化模型翻译时, 不遵从prompt要求的目标语言, 随机输出各种语言结果
2
#2 opened over 1 year ago
by
tobchef