drdeveloper88's picture
Upload WorldDisasterLM-8B source code: FastAPI backend, training pipeline, 11-language support
495526b
Raw
History Blame Contribute Delete
463 Bytes
from pathlib import Path
from worlddisasterlm.utils.io import ensure_dir
def export_gguf(model_path: str, output_path: str = "artifacts/model.gguf") -> Path:
target = Path(output_path)
ensure_dir(target.parent)
target.write_text(
"Placeholder GGUF artifact metadata. Integrate llama.cpp conversion in production.",
encoding="utf-8",
)
print(f"GGUF export stub created at {target} from model {model_path}")
return target