Open scottsun94 opened 1 year ago
cc: @matthewdeng @woshiyyya
Do you have a repro?
@matthewdeng If I am not wrong, Huaiwei randomly picked a model from HF model hub (finbert here)
python examples/transformers/transformers_example.py --model_name_or_path= finbert --task_name=cola
The problem is we are testing this example with a specific list of arguments (bert-base-cased + mrpc), which works perfectly. But when switching to other models, there are some unknown issues(e.g. tokenizer pad token unset, cannot download a delta model, ..).
Probably we can set our testing configs as default, so that the users can smoothly try out our example.
@woshiyyya is right. I just ran the HF example in the doc with the arguments pasted above. https://docs.ray.io/en/latest/train/examples/transformers/transformers_example.html
Oh got it. There is a README here but overall the example is outside. We should revise to make it up to date with the original Transformers example and/or push the example down the list in the docs - it's not as nice or informative as the notebook examples.
Description
I tried 2 transformer models on HF, both of which didn't work.
Link
No response