HuggingFaceModelHub

public class HuggingFaceModelHub

Internal util to load HuggingFace models from the Hub

Functions

Link copied to clipboard
public final FileInfo downloadModel(    String name,     Engine engine,     String revision)
Link copied to clipboard
public final Map<Integer, String> id2label(Path path)
Link copied to clipboard
public final HFModel load(    String name,     Engine engine,     String revision)

Properties

Link copied to clipboard
public final static HuggingFaceModelHub INSTANCE