togethercomputer/RedPajama-Data-V2
Updated • 7.85k • 413
Run LSX-UniWue/LLaMmlein2Vec_7B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/LSX-UniWue/LLaMmlein2Vec_7B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/LSX-UniWue/LLaMmlein2Vec_7B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use LSX-UniWue/LLaMmlein2Vec_7B with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="LSX-UniWue/LLaMmlein2Vec_7B") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("LSX-UniWue/LLaMmlein2Vec_7B")
model = AutoModel.from_pretrained("LSX-UniWue/LLaMmlein2Vec_7B", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("LSX-UniWue/LLaMmlein2Vec_7B")
model = AutoModel.from_pretrained("LSX-UniWue/LLaMmlein2Vec_7B", device_map="auto")LLäMmlein2Vec 7B is a German encoder language model derived from our German decoder-only model LLäMmlein 7B via LLM2Vec.
Find more details in our preprint!
We provide three transformed models:
LLäMmlein 7B ← You are here
You can use LLäMmlein2Vec with the llm2vec library.
import torch
from llm2vec import LLM2Vec
model_id = "LSX-UniWue/LLaMmlein2Vec_7B"
l2v = LLM2Vec.from_pretrained(
model_id,
device_map="cuda" if torch.cuda.is_available() else "cpu",
torch_dtype=torch.bfloat16,
)
We release the ModernGBERT models under a research-only RAIL-M license. See license.md for details. Data Take Down
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="LSX-UniWue/LLaMmlein2Vec_7B")