Downloads · 30 days
0
telmo000/bloom-positive-reframing
bloom-positive-reframing is a text generation model from telmo000. Use it when you need the model to write or continue text. The card lists the license as bigscience-bloom-rail-1.0.
This model is a BLOOM-base adjusted to the sentiment transfer task, developed as part of a FourthBrain workshop on GenerativeAI.
Downloads · 30 days
0
Access
Public
Updated Apr 5, 2023
Repo size
12.6 MB
Likes
1
Public
Click a slice to open those files.
.bin12.6 MB · 100%
From the Hugging Face model README
This model is a BLOOM-base adjusted to the sentiment transfer task, developed as part of a FourthBrain workshop on GenerativeAI.
This model is a BLOOM-base adjusted to the sentiment transfer task, where the objective is to reverse the sentiment polarity of a text without contradicting the original meaning. Positive reframing induces a complementary positive viewpoint (e.g. glass-half-full) escaping negative patterns. Based on the article Ziems at. al (2022).
Sample working space here.
### Negative sentence:\n{original_text}\n\n### Reframing strategy: \n{reframing_strategy}\n\n### Reframing sentence:\n
Model trained as a proof-of-concept fine tuning of BLOOM for sentence rewriting.
Model is intended to be directly used to rewrite sentences with the provided strategy.
Any uses of the model must abide by the terms of both the original BLOOM model and the Salt-NLP/positive-reframing dataset.
As a fine-tuned version of BLOOM, this model carries all the biases, risks, and limitations. of its original training.
The baseline model bigscience/bloom-1b7 was trained through 100 steps over the training split of the training data, with its prompt engineered to request explicit positive sentence reframing:
Below is a negative sentence, please select a reframing strategy and write the positive reframed sentence.
### Negative sentence:
NEGATIVE SENTENCE HERE
### Reframing strategy:
STRATEGY HERE
### Reframed sentence:
REFRAMED SENTENCE HERE
Evaluation not performed.
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).