This is a
TRL language model
that has been fine-tuned with reinforcement learning to
guide the model outputs according to a value, function, or human feedback. The model can be used for text generation.
Usage
To use this model for inference, first install the TRL library:
python -m pip install trl
You can then generate text as follows:
from transformers import pipeline
generator = pipeline("text-generation", model="baek26//tmp/tmputo8zad0/baek26/wiki_asp-software_9089_bart-base")
outputs = generator("Hello, my llama is cute")
If you want to use the model for training or to obtain the outputs from the value head, load the model as follows:
from transformers import AutoTokenizer
from trl import AutoModelForCausalLMWithValueHead
tokenizer = AutoTokenizer.from_pretrained("baek26//tmp/tmputo8zad0/baek26/wiki_asp-software_9089_bart-base")
model = AutoModelForCausalLMWithValueHead.from_pretrained("baek26//tmp/tmputo8zad0/baek26/wiki_asp-software_9089_bart-base")
inputs = tokenizer("Hello, my llama is cute", return_tensors="pt")
outputs = model(**inputs, labels=inputs["input_ids"])
Runs of baek26 wiki_asp-software_9089_bart-base on huggingface.co
8
Total runs
0
24-hour runs
2
3-day runs
2
7-day runs
6
30-day runs
More Information About wiki_asp-software_9089_bart-base huggingface.co Model
More wiki_asp-software_9089_bart-base license Visit here:
wiki_asp-software_9089_bart-base huggingface.co is an AI model on huggingface.co that provides wiki_asp-software_9089_bart-base's model effect (), which can be used instantly with this baek26 wiki_asp-software_9089_bart-base model. huggingface.co supports a free trial of the wiki_asp-software_9089_bart-base model, and also provides paid use of the wiki_asp-software_9089_bart-base. Support call wiki_asp-software_9089_bart-base model through api, including Node.js, Python, http.
wiki_asp-software_9089_bart-base huggingface.co is an online trial and call api platform, which integrates wiki_asp-software_9089_bart-base's modeling effects, including api services, and provides a free online trial of wiki_asp-software_9089_bart-base, you can try wiki_asp-software_9089_bart-base online for free by clicking the link below.
baek26 wiki_asp-software_9089_bart-base online free url in huggingface.co:
wiki_asp-software_9089_bart-base is an open source model from GitHub that offers a free installation service, and any user can find wiki_asp-software_9089_bart-base on GitHub to install. At the same time, huggingface.co provides the effect of wiki_asp-software_9089_bart-base install, users can directly use wiki_asp-software_9089_bart-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
wiki_asp-software_9089_bart-base install url in huggingface.co: