model files to use with https://github.com/ollama/ollama
ollama create example -f modelfile.txt
ollama run example
ollama rm example
model files to use with https://github.com/ollama/ollama
ollama create example -f modelfile.txt
ollama run example
ollama rm example
import os | |
import requests | |
import werkzeug | |
from tqdm import tqdm | |
def download_ckpt(url:str, filename:str="", overwrite:bool=False, chunk_size:int=1) -> None: | |
""" | |
try auto detect file name if left empty | |
option to overwrite if file already existed |
楷体 Khải thể (Kaiti)
test-page = text chương 1 kinh pháp hoa
Arphic PL UKai
Adobe Kaiti Std
bản gốc từ https://github.com/ds4v/NomNaSite/blob/main/handler/translator.py
giải thích API:
mode=trans
chuyển đổi từ Hán tự
lang=1
→ Hán-Việtlang=2
→ bính âmlang=3
→ chữ Nômmode=han
chuyển đổi sang Hán tựinputs: GPS coordinates (WGS 84)
output: