Spaces:
Runtime error
Runtime error
Commit
·
e8a3cd6
1
Parent(s):
b6c667f
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ import json
|
|
| 12 |
import torch
|
| 13 |
import argparse
|
| 14 |
from tqdm import tqdm
|
| 15 |
-
from transformers import LlamaTokenizer, LlamaForCausalLM
|
| 16 |
|
| 17 |
|
| 18 |
def apply_delta(base_model_path, target_model_path, delta_path):
|
|
|
|
| 12 |
import torch
|
| 13 |
import argparse
|
| 14 |
from tqdm import tqdm
|
| 15 |
+
from transformers import LlamaTokenizer, LlamaForCausalLM, GenerationConfig
|
| 16 |
|
| 17 |
|
| 18 |
def apply_delta(base_model_path, target_model_path, delta_path):
|