Skip to content

Commit e139ca4

Browse files
authored
Add Colab Notebook for Sentiment (#285)
Code adapted from the [sentiment example](https://github.com/CarperAI/trlx/blob/main/examples/ilql_sentiments.py) and the [simulacra Colab](https://colab.research.google.com/drive/1vrmCLoHNlKvDVqJjMig-8tKDCfIEoym4?). One notable addition is the final cell which allows the user to see outputs from the RLHFed model.
1 parent 888ae11 commit e139ca4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ pip install -e .
3232
For more usage see [examples](./examples). You can also try the colab notebooks below:
3333
| Description | Link |
3434
| ----------- | ----------- |
35-
| Simulacra Example | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1vrmCLoHNlKvDVqJjMig-8tKDCfIEoym4?usp=sharing)|
35+
| Simulacra (GPT2, ILQL) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1vrmCLoHNlKvDVqJjMig-8tKDCfIEoym4?usp=sharing)|
36+
| Sentiment (GPT2, ILQL) | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1lUGxD__nl3OeC0mHVAoew_PzMprRT_2w)
3637

3738
## How to Train
3839

0 commit comments

Comments
 (0)