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

Fix some typos and nits #513

Merged
merged 7 commits into from
Feb 24, 2024
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 docs/source/llm_finetuning.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ For Reward Trainer, the data should be in the following format:

| text | rejected_text |
|---------------------------------------------------------------|-------------------------------------------------------------------|
| human: hello \n bot: hi nice to meet you | humna: hello \n bot: leave me alone |
| human: hello \n bot: hi nice to meet you | human: hello \n bot: leave me alone |
| human: how are you \n bot: I am fine | human: how are you \n bot: I am not fine |
| human: What is your name? \n bot: My name is Mary | human: What is your name? \n bot: Whats it to you? |
| human: Which is the best programming language? \n bot: Python | human: Which is the best programming language? \n bot: Javascript |
Expand Down
2 changes: 1 addition & 1 deletion docs/source/seq2seq.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Seq2Seq

Seq2Seq is a task that involves converting a sequence of words into another sequence of words.
Seq2Seq is a task that involves converting a sequence of words into another sequence of words.
It is used in machine translation, text summarization, and question answering.

## Data Format
Expand Down
2 changes: 1 addition & 1 deletion src/autotrain/trainers/tabular/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def calculate(self, y_true, y_pred):
else:
if metric_name == "rmsle":
temp_pred = copy.deepcopy(y_pred)
temp_pred = np.clip(y_pred, 0, None)
temp_pred = np.clip(temp_pred, 0, None)
metrics[metric_name] = metric_func(y_true, temp_pred)
else:
metrics[metric_name] = metric_func(y_true, y_pred)
Expand Down
Loading