Sundeep Joshi

Results 1 comments of Sundeep Joshi

Hello, i am able to extract the embeddings from the model. `from transformers import AutoModelForCausalLM, AutoConfig,AutoTokenizer` `checkpoint = "path/to/the/model"` `config = AutoConfig.from_pretrained(checkpoint)` `model = AutoModelForCausalLM.from_config(config)` `tokenizer = AutoTokenizer.from_pretrained(checkpoint)` `inputs =...