tehranixyz commited on
Commit
1d6affc
·
verified ·
1 Parent(s): cdfcaec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -16,8 +16,8 @@ This version of the model is the base version of **C++-CUDA translation** withou
16
  from transformers import AutoTokenizer, EncoderDecoderModel
17
 
18
  # Load the CodeRosetta model and tokenizer
19
- model = EncoderDecoderModel.from_pretrained('CodeRosetta/CodeRosetta_cpp2cuda_ft')
20
- tokenizer = AutoTokenizer.from_pretrained('CodeRosetta/CodeRosetta_cpp2cuda_ft')
21
 
22
  # Encode the input C++ Code
23
  input_cpp_code = "void add_100 ( int numElements , int * data ) { for ( int idx = 0 ; idx < numElements ; idx ++ ) { data [ idx ] += 100 ; } }"
 
16
  from transformers import AutoTokenizer, EncoderDecoderModel
17
 
18
  # Load the CodeRosetta model and tokenizer
19
+ model = EncoderDecoderModel.from_pretrained('CodeRosetta/CodeRosetta_cpp_cuda_base')
20
+ tokenizer = AutoTokenizer.from_pretrained('CodeRosetta/CodeRosetta_cpp_cuda_base')
21
 
22
  # Encode the input C++ Code
23
  input_cpp_code = "void add_100 ( int numElements , int * data ) { for ( int idx = 0 ; idx < numElements ; idx ++ ) { data [ idx ] += 100 ; } }"