mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 17:29:22 +01:00
Update the description
This commit is contained in:
parent
dd1bed2d8b
commit
45168e9e7a
@ -2,9 +2,9 @@
|
|||||||
Converts a transformers model to .pt, which is faster to load.
|
Converts a transformers model to .pt, which is faster to load.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
python convert.py models/opt-1.3b
|
python convert-to-torch.py models/opt-1.3b
|
||||||
|
|
||||||
Output will be written to torch-dumps/name-of-the-model.pt
|
The output will be written to torch-dumps/name-of-the-model.pt
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from transformers import AutoModelForCausalLM, T5ForConditionalGeneration
|
from transformers import AutoModelForCausalLM, T5ForConditionalGeneration
|
||||||
|
Loading…
Reference in New Issue
Block a user