Skip to content

Commit be26567

Browse files
authored
Use wikitext-2-raw-v1 in the examples (#3333)
### Changes Use wikitext-2-raw-v1 in the examples ### Reason for changes Minimize number downloads. ### Related tickets N/A ### Tests https://github.com/openvinotoolkit/nncf/actions/runs/13715504451
1 parent 9bf7d22 commit be26567

File tree

1 file changed

+1
-1
lines changed
  • examples/llm_compression/openvino/tiny_llama_find_hyperparams

1 file changed

+1
-1
lines changed

examples/llm_compression/openvino/tiny_llama_find_hyperparams/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def main():
261261
load_in_8bit=False,
262262
)
263263
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
264-
dataset = load_dataset("wikitext", "wikitext-2-v1", split="train[:1000]") # <YOUR_DATASET>
264+
dataset = load_dataset("wikitext", "wikitext-2-raw-v1", split="train[:1000]") # <YOUR_DATASET>
265265
dataset = dataset.filter(lambda example: len(example["text"]) > 128)
266266
transform_func = partial(tiny_llama_transform_func, tokenizer=tokenizer, ov_model=model.model)
267267

0 commit comments

Comments
 (0)