baek26 / bart-cnndm-oracle

huggingface.co
Total runs: 8
24-hour runs: 0
7-day runs: -1
30-day runs: 1
Model's Last Updated: May 13 2024
reinforcement-learning

Introduction of bart-cnndm-oracle

Model Details of bart-cnndm-oracle

TRL Model

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/tmpls9gis46/baek26/cnn_dailymail_7965_cnn_dailymail_8824_bart-base_rl")
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/tmpls9gis46/baek26/cnn_dailymail_7965_cnn_dailymail_8824_bart-base_rl")
model = AutoModelForCausalLMWithValueHead.from_pretrained("baek26//tmp/tmpls9gis46/baek26/cnn_dailymail_7965_cnn_dailymail_8824_bart-base_rl")

inputs = tokenizer("Hello, my llama is cute", return_tensors="pt")
outputs = model(**inputs, labels=inputs["input_ids"])

Runs of baek26 bart-cnndm-oracle on huggingface.co

8
Total runs
0
24-hour runs
-1
3-day runs
-1
7-day runs
1
30-day runs

More Information About bart-cnndm-oracle huggingface.co Model

More bart-cnndm-oracle license Visit here:

https://choosealicense.com/licenses/apache-2.0

bart-cnndm-oracle huggingface.co

bart-cnndm-oracle huggingface.co is an AI model on huggingface.co that provides bart-cnndm-oracle's model effect (), which can be used instantly with this baek26 bart-cnndm-oracle model. huggingface.co supports a free trial of the bart-cnndm-oracle model, and also provides paid use of the bart-cnndm-oracle. Support call bart-cnndm-oracle model through api, including Node.js, Python, http.

bart-cnndm-oracle huggingface.co Url

https://huggingface.co/baek26/bart-cnndm-oracle

baek26 bart-cnndm-oracle online free

bart-cnndm-oracle huggingface.co is an online trial and call api platform, which integrates bart-cnndm-oracle's modeling effects, including api services, and provides a free online trial of bart-cnndm-oracle, you can try bart-cnndm-oracle online for free by clicking the link below.

baek26 bart-cnndm-oracle online free url in huggingface.co:

https://huggingface.co/baek26/bart-cnndm-oracle

bart-cnndm-oracle install

bart-cnndm-oracle is an open source model from GitHub that offers a free installation service, and any user can find bart-cnndm-oracle on GitHub to install. At the same time, huggingface.co provides the effect of bart-cnndm-oracle install, users can directly use bart-cnndm-oracle installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bart-cnndm-oracle install url in huggingface.co:

https://huggingface.co/baek26/bart-cnndm-oracle

Url of bart-cnndm-oracle

bart-cnndm-oracle huggingface.co Url

Provider of bart-cnndm-oracle huggingface.co

baek26
ORGANIZATIONS

Other API from baek26

huggingface.co

Total runs: 11
Run Growth: 6
Growth Rate: 50.00%
Updated:March 20 2024
huggingface.co

Total runs: 10
Run Growth: 3
Growth Rate: 27.27%
Updated:April 22 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:April 22 2024
huggingface.co

Total runs: 4
Run Growth: -3
Growth Rate: -60.00%
Updated:April 16 2024