"....github/git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "97b02a8981110c76d901e8b5f96af514ee0326f3"
Unverified Commit d7ddf525 authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Merge pull request #842 from Hojjat-Mokhtarabadi/big-refactor

undefined type and output_type when using promptsource fixed
parents 91a37c90 a89b132d
...@@ -50,7 +50,9 @@ def main(): ...@@ -50,7 +50,9 @@ def main():
docs = join_iters(iters) docs = join_iters(iters)
with open(os.path.join(args.output_base_path, task_name), "w") as f: with open(
os.path.join(args.output_base_path, task_name), "w", encoding="utf8"
) as f:
for i, doc in ( for i, doc in (
zip(range(args.num_examples), docs) zip(range(args.num_examples), docs)
if args.num_examples > 0 if args.num_examples > 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment