harshit36 commited on
Commit
bddc5c7
·
verified ·
1 Parent(s): 9f85b42

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -72,26 +72,26 @@ The model consists of:
72
  ### Step 1: Clone the repo (to get the `nova_modelling.py`)
73
 
74
  ```bash
75
- git clone https://huggingface.co/harshit36/Nova-Casual-LLM
76
- cd Nova-Casual-LLM
77
  ```
78
 
79
  ```python
80
  import sys
81
- sys.path.append("./Nova-Casual-LLM/") # add current dir to path
82
 
83
  from transformers import PreTrainedTokenizerFast
84
  from nova_modelling import NovaConfig, NovaForCausalLM
85
 
86
  # Load tokenizer
87
- tokenizer = PreTrainedTokenizerFast.from_pretrained("harshit36/Nova-Casual-LLM")
88
 
89
  # Load config
90
- config = NovaConfig.from_pretrained("harshit36/Nova-Casual-LLM")
91
 
92
  # Instantiate model using your custom class
93
  model = NovaForCausalLM(config)
94
- model = model.from_pretrained("harshit36/Nova-Casual-LLM")
95
 
96
  # Use the model
97
  input_ids = tokenizer("Hello world", return_tensors="pt").input_ids
 
72
  ### Step 1: Clone the repo (to get the `nova_modelling.py`)
73
 
74
  ```bash
75
+ git clone https://huggingface.co/harshit36/Nova-Verse
76
+ cd Nova-Verse
77
  ```
78
 
79
  ```python
80
  import sys
81
+ sys.path.append("./Nova-Verse/") # add current dir to path
82
 
83
  from transformers import PreTrainedTokenizerFast
84
  from nova_modelling import NovaConfig, NovaForCausalLM
85
 
86
  # Load tokenizer
87
+ tokenizer = PreTrainedTokenizerFast.from_pretrained("harshit36/Nova-Verse")
88
 
89
  # Load config
90
+ config = NovaConfig.from_pretrained("harshit36/Nova-Verse")
91
 
92
  # Instantiate model using your custom class
93
  model = NovaForCausalLM(config)
94
+ model = model.from_pretrained("harshit36/Nova-Verse")
95
 
96
  # Use the model
97
  input_ids = tokenizer("Hello world", return_tensors="pt").input_ids