We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bf7d22 commit be26567Copy full SHA for be26567
examples/llm_compression/openvino/tiny_llama_find_hyperparams/main.py
@@ -261,7 +261,7 @@ def main():
261
load_in_8bit=False,
262
)
263
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
264
- dataset = load_dataset("wikitext", "wikitext-2-v1", split="train[:1000]") # <YOUR_DATASET>
+ dataset = load_dataset("wikitext", "wikitext-2-raw-v1", split="train[:1000]") # <YOUR_DATASET>
265
dataset = dataset.filter(lambda example: len(example["text"]) > 128)
266
transform_func = partial(tiny_llama_transform_func, tokenizer=tokenizer, ov_model=model.model)
267
0 commit comments