flashcoder commited on
Commit
8d65eb1
·
verified ·
1 Parent(s): e9a42e8

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -42,7 +42,7 @@ from sentence_transformers import SentenceTransformer
42
 
43
  embedder = SentenceTransformer("google/embeddinggemma-2", device="cpu",
44
  model_kwargs={"dtype": torch.float32})
45
- head_path = hf_hub_download("flashclub/tweet-buy-intent", "head.pt")
46
  head = torch.nn.Sequential(
47
  torch.nn.Linear(768, 64), torch.nn.ReLU(), torch.nn.Dropout(0.2), torch.nn.Linear(64, 1))
48
  head.load_state_dict(torch.load(head_path, map_location="cpu"))
 
42
 
43
  embedder = SentenceTransformer("google/embeddinggemma-2", device="cpu",
44
  model_kwargs={"dtype": torch.float32})
45
+ head_path = hf_hub_download("flashcoder/tweet-buy-intent", "head.pt")
46
  head = torch.nn.Sequential(
47
  torch.nn.Linear(768, 64), torch.nn.ReLU(), torch.nn.Dropout(0.2), torch.nn.Linear(64, 1))
48
  head.load_state_dict(torch.load(head_path, map_location="cpu"))