programming_language_classifier

作者 emresvd · 下载 11 · 点赞 1 · 更新 2023-11-02

from huggingface_hub import hf_hub_download
import joblib
model, vectorizer = joblib.load(
	hf_hub_download("emresvd/programming_language_classifier", "sklearn_model.joblib")
)
model.predict(vectorizer.transform(["print('hello world')"]))
array(['Python'], dtype=object)

模型信息

该模型卡暂无预览图和文字说明。以下信息来自 Hugging Face。

作者 emresvd
类型—
基础模型—
标签—
下载11
点赞1
更新时间2023-11-02
Hugging Face https://huggingface.co/emresvd/programming_language_classifier