Text Classification
Transformers
PyTorch
Safetensors
llama
text-generation
custom_code
text-embeddings-inference
Instructions to use Ray2333/GRM-llama3-8B-sftreg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ray2333/GRM-llama3-8B-sftreg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ray2333/GRM-llama3-8B-sftreg", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Ray2333/GRM-llama3-8B-sftreg", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("Ray2333/GRM-llama3-8B-sftreg", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Abnormally Large Memory Footprint?
2
#2 opened about 2 years ago
by
RylanSchaeffer