@@ -21,7 +21,7 @@ limitations under the License.
|
|||||||
`run_swag` allows you to fine-tune any model from our [hub](https://huggingface.co/models) (as long as its architecture as a `ForMultipleChoice` version in the library) on the SWAG dataset or your own csv/jsonlines files as long as they are structured the same way. To make it works on another dataset, you will need to tweak the `preprocess_function` inside the script.
|
`run_swag` allows you to fine-tune any model from our [hub](https://huggingface.co/models) (as long as its architecture as a `ForMultipleChoice` version in the library) on the SWAG dataset or your own csv/jsonlines files as long as they are structured the same way. To make it works on another dataset, you will need to tweak the `preprocess_function` inside the script.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python examples/multiple-choice/run_swag.py \
|
python examples/pytorch/multiple-choice/run_swag.py \
|
||||||
--model_name_or_path FacebookAI/roberta-base \
|
--model_name_or_path FacebookAI/roberta-base \
|
||||||
--do_train \
|
--do_train \
|
||||||
--do_eval \
|
--do_eval \
|
||||||
|
|||||||
Reference in New Issue
Block a user