Vokturz commited on
Commit
ce26e7b
·
1 Parent(s): 25e8265

downgrade transformers.js to 3.7.0

Browse files
public/workers/feature-extraction.js CHANGED
@@ -1,5 +1,5 @@
1
  /* eslint-disable no-restricted-globals */
2
- import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.1'
3
 
4
  class MyFeatureExtractionPipeline {
5
  static task = 'feature-extraction'
 
1
  /* eslint-disable no-restricted-globals */
2
+ import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.0'
3
 
4
  class MyFeatureExtractionPipeline {
5
  static task = 'feature-extraction'
public/workers/image-classification.js CHANGED
@@ -1,5 +1,5 @@
1
  /* eslint-disable no-restricted-globals */
2
- import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.1'
3
 
4
  class MyImageClassificationPipeline {
5
  static task = 'image-classification'
 
1
  /* eslint-disable no-restricted-globals */
2
+ import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.0'
3
 
4
  class MyImageClassificationPipeline {
5
  static task = 'image-classification'
public/workers/text-classification.js CHANGED
@@ -1,5 +1,5 @@
1
  /* eslint-disable no-restricted-globals */
2
- import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.1'
3
 
4
  class MyTextClassificationPipeline {
5
  static task = 'text-classification'
 
1
  /* eslint-disable no-restricted-globals */
2
+ import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.0'
3
 
4
  class MyTextClassificationPipeline {
5
  static task = 'text-classification'
public/workers/text-generation.js CHANGED
@@ -1,5 +1,5 @@
1
  /* eslint-disable no-restricted-globals */
2
- import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.1'
3
 
4
  class MyTextGenerationPipeline {
5
  static task = 'text-generation'
 
1
  /* eslint-disable no-restricted-globals */
2
+ import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.0'
3
 
4
  class MyTextGenerationPipeline {
5
  static task = 'text-generation'
public/workers/zero-shot-classification.js CHANGED
@@ -1,5 +1,5 @@
1
  /* eslint-disable no-restricted-globals */
2
- import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.1'
3
 
4
  class MyZeroShotClassificationPipeline {
5
  static task = 'zero-shot-classification'
 
1
  /* eslint-disable no-restricted-globals */
2
+ import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.7.0'
3
 
4
  class MyZeroShotClassificationPipeline {
5
  static task = 'zero-shot-classification'