Benign huggingface download unavailable

rushikeshkotkar73

Calls base64.b64decode (Python)Imports Python base64 module
SHA-25690a9a1b739f834cdf7a2f40959f9eeff2a705b80acefb2cea9c19ff3958a9279
MaleculeH₂(Db₂F)

Evidence

Imports Python base64 module lines 1–7
1import regex as re
2import base64
3import os
4import tiktoken
5from typing import List, Optional, Union, Dict
6from transformers import PreTrainedTokenizer
7from transformers.utils import PaddingStrategy
Calls base64.b64decode (Python) lines 26–32
26 mergeable_ranks = {}
27 with open(vocab_file) as f:
28 for line in f:
29 token, rank = line.strip().split()
30 rank = int(rank)
31 token = base64.b64decode(token)
32 mergeable_ranks[token] = rank
Credential-access vocabulary word: token lines 73–77
73 temp += t
74 else:
75 raise TypeError("token should only be of type int, bytes or str")
76 if temp:
77 text += temp.decode("utf-8", errors="replace")
File opened for binary read lines 115–116
115 with open(self.vocab_file, 'rb') as fin:
116 proto_str = fin.read()
Python open write mode lines 118–119
118 with open(vocab_file, "wb") as writer:
119 writer.write(proto_str)

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.