How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Felladrin/Sheared-Pythia-160m-WebGLM-QA")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Felladrin/Sheared-Pythia-160m-WebGLM-QA")
model = AutoModelForCausalLM.from_pretrained("Felladrin/Sheared-Pythia-160m-WebGLM-QA", device_map="auto")
Quick Links

Princeton NLP's Sheared-Pythia-160m trained on the WebGLM-QA dataset

Recommended prompt format

<|references|>
{references}</s>
<|question|>
{question}</s>
<|answer|>
Downloads last month
6
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Felladrin/Sheared-Pythia-160m-WebGLM-QA

Finetuned
(2)
this model
Quantizations
1 model

Dataset used to train Felladrin/Sheared-Pythia-160m-WebGLM-QA