tainc commited on
Commit
30fc7d8
1 Parent(s): 0f27eb2

update links from sgnlp to sgnlp-models

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -52,21 +52,21 @@ from sgnlp.models.csgec import (
52
  download_tokenizer_files,
53
  )
54
 
55
- config = CsgConfig.from_pretrained("https://storage.googleapis.com/sgnlp/models/csgec/config.json")
56
  model = CsgModel.from_pretrained(
57
- "https://storage.googleapis.com/sgnlp/models/csgec/pytorch_model.bin",
58
  config=config,
59
  )
60
  download_tokenizer_files(
61
- "https://storage.googleapis.com/sgnlp/models/csgec/src_tokenizer/",
62
  "csgec_src_tokenizer",
63
  )
64
  download_tokenizer_files(
65
- "https://storage.googleapis.com/sgnlp/models/csgec/ctx_tokenizer/",
66
  "csgec_ctx_tokenizer",
67
  )
68
  download_tokenizer_files(
69
- "https://storage.googleapis.com/sgnlp/models/csgec/tgt_tokenizer/",
70
  "csgec_tgt_tokenizer",
71
  )
72
  src_tokenizer = CsgTokenizer.from_pretrained("csgec_src_tokenizer")
 
52
  download_tokenizer_files,
53
  )
54
 
55
+ config = CsgConfig.from_pretrained("https://storage.googleapis.com/sgnlp-models/models/csgec/config.json")
56
  model = CsgModel.from_pretrained(
57
+ "https://storage.googleapis.com/sgnlp-models/models/csgec/pytorch_model.bin",
58
  config=config,
59
  )
60
  download_tokenizer_files(
61
+ "https://storage.googleapis.com/sgnlp-models/models/csgec/src_tokenizer/",
62
  "csgec_src_tokenizer",
63
  )
64
  download_tokenizer_files(
65
+ "https://storage.googleapis.com/sgnlp-models/models/csgec/ctx_tokenizer/",
66
  "csgec_ctx_tokenizer",
67
  )
68
  download_tokenizer_files(
69
+ "https://storage.googleapis.com/sgnlp-models/models/csgec/tgt_tokenizer/",
70
  "csgec_tgt_tokenizer",
71
  )
72
  src_tokenizer = CsgTokenizer.from_pretrained("csgec_src_tokenizer")