We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PretrainedConfig
1 parent 54b861a commit 658fbdcCopy full SHA for 658fbdc
src/configs.js
@@ -47,6 +47,10 @@ async function loadConfig(pretrained_model_name_or_path, options) {
47
return info;
48
}
49
50
+/**
51
+ * Base class for all configuration classes. For more information, see the corresponding
52
+ * [Python documentation](https://huggingface.co/docs/transformers/main/en/main_classes/configuration#transformers.PretrainedConfig).
53
+ */
54
export class PretrainedConfig {
55
// NOTE: Typo in original
56
@@ -59,6 +63,7 @@ export class PretrainedConfig {
59
63
60
64
Object.assign(this, configJSON);
61
65
66
+
62
67
/**
68
* Loads a pre-trained config from the given `pretrained_model_name_or_path`.
69
*
0 commit comments