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="ccore/350m-reversed-test")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("ccore/350m-reversed-test")
model = AutoModelForCausalLM.from_pretrained("ccore/350m-reversed-test")
Quick Links

prompt style:

[RESPONSE] the color of the sky is blue
[REVERSED-PROMPT] what color is the sky?

or

[INSTRUCTION] what color is the sky?
[RESPONSE] the color of the sky is blue

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support