TerenceLau commited on
Commit
26e5b32
·
verified ·
1 Parent(s): 57a8651

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -31,7 +31,7 @@ git clone https://huggingface.co/TerenceLau/sparrow && cd ./sparrow/
31
 
32
  then, you can register the `SparrowConfig` and `SparrowModel` to `AutoConfig` and `AutoModelForCausalLM`:
33
  ```python
34
- from modelling_sparrow import SparrowModel, SparrowConfig
35
  from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer
36
  AutoConfig.register("sparrow", SparrowConfig)
37
  AutoModelForCausalLM.register(SparrowConfig, SparrowModelForCausalLM)
 
31
 
32
  then, you can register the `SparrowConfig` and `SparrowModel` to `AutoConfig` and `AutoModelForCausalLM`:
33
  ```python
34
+ from modelling_sparrow import SparrowModelForCausalLM, SparrowConfig
35
  from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer
36
  AutoConfig.register("sparrow", SparrowConfig)
37
  AutoModelForCausalLM.register(SparrowConfig, SparrowModelForCausalLM)