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

Add scripts for chat data cleaning and analysis #2335

Merged
merged 8 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Minor; fix typo
  • Loading branch information
merrymercy committed Aug 29, 2023
commit eea46dd8021c78c1d9c3f3ae9f04ae5c322d532a
2 changes: 1 addition & 1 deletion fastchat/data/hardcoded_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def identity_questions():
""" "
Adopted from https://github.com/young-geng/koala_data_pipeline/blob/main/process_hard_coded_data.py
Adapted from https://github.com/young-geng/koala_data_pipeline/blob/main/process_hard_coded_data.py
"""
content = []

Expand Down
2 changes: 1 addition & 1 deletion fastchat/train/train_flant5.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Adopted from tatsu-lab@stanford_alpaca. Below is the original copyright:
# Adapted from tatsu-lab@stanford_alpaca. Below is the original copyright:
# Copyright 2023 Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion fastchat/train/train_lora.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Usage: deepspeed train_lora.py --deepspeed <$PATH_TO_DEEPSPEED_CONFIG>

# Adopted from tatsu-lab@stanford_alpaca. Below is the original copyright:
# Adapted from tatsu-lab@stanford_alpaca. Below is the original copyright:
# Copyright 2023 Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion fastchat/train/train_lora_t5.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Adopted from tatsu-lab@stanford_alpaca. Below is the original copyright:
# Adapted from tatsu-lab@stanford_alpaca. Below is the original copyright:
# Copyright 2023 Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion format.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Adopted from https://github.com/skypilot-org/skypilot/blob/master/format.sh
# Adapted from https://github.com/skypilot-org/skypilot/blob/master/format.sh

# Cause the script to exit if a single command fails
set -eo pipefail
Expand Down