Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rectify typos in tutorials #84

Merged
merged 2 commits into from
Dec 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tutorials/TUTORIAL-1_OVERVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ frameworks such as [flair](https://github.com/flairNLP/flair), deepset's [haysta
```python
from fabricator import BasePrompt, DatasetGenerator

prompt_template = BasePrompt(task_description="Generate a movie review.")
prompt = BasePrompt(task_description="Generate a movie review.")

prompt_node = PromptNode("google/flan-t5-base")

Expand Down
2 changes: 1 addition & 1 deletion tutorials/TUTORIAL-3_ADVANCED-GENERATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Movie Review: {text}
Sentiment:
```

## Inferring the Prompt rom Dataset Info
## Inferring the Prompt from Dataset Info

Huggingface Dataset objects provide the possibility to infer a prompt from the dataset. This can be achieved by using
the `infer_prompt_from_dataset` function. This function takes a dataset
Expand Down
Loading