Skip to content

Commit

Permalink
removed fake path
Browse files Browse the repository at this point in the history
Signed-off-by: ftgreat <[email protected]>
  • Loading branch information
ftgreat committed Jun 9, 2023
1 parent f726ad2 commit 60af0d6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/Aquila/Aquila-code/generate_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# Licensed under the Apache License, Version 2.0 (the "License")
import torch
import os
import argparse
import sys
from flagai import mpu
from flagai.auto_model.auto_loader import AutoLoader
import random
Expand All @@ -14,11 +12,10 @@


model_dir = "./checkpoints_in"
model_dir = "/data2/yzd/checkpoints/converted_models_ldwang"
device = "cuda"

print(f"building model...")
loader = AutoLoader("lm", model_name="aquilacode-7b-ts",
loader = AutoLoader("lm", model_name="aquilacode-7b-nv",
use_cache=True,
model_dir=model_dir)

Expand Down

0 comments on commit 60af0d6

Please sign in to comment.