microsoft main
PYTHON
Verdict: BENIGN
Local reference
Suspicious dependency
Inferred
processing_florence2.py
python
| 1 |
# coding=utf-8 |
|
| 2 |
# Copyright 2024 Microsoft and The HuggingFace Inc. team. |
English language detection |
| 3 |
# |
|
| 4 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 5 |
# you may not use this file except in compliance with the License. |
|
| 6 |
# You may obtain a copy of the License at |
|
| 139 |
|
|
| 140 |
def _construct_prompts(self, text): |
|
| 141 |
# replace the task tokens with the task prompts if task token is in the text |
Credential-access vocabulary word: token |
| 142 |
prompts = [] |
|
| 143 |
for _text in text: |
|
Metadata
| 1 |
# coding=utf-8 |
|
| 2 |
# Copyright 2024 Microsoft and The HuggingFace Inc. team. |
|
| 3 |
# |
|
| 4 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 5 |
# you may not use this file except in compliance with the License. |
|
| 6 |
# You may obtain a copy of the License at |
|
Identity
| SHA-256 |
c655782a9e4347965c735ea54cbc4e98fdbc02155ffd1ce2ecd61f42c45eda28 |
| Filename |
processing_florence2.py |
| Package |
microsoft |
| Version |
main |
| PURL |
pkg:huggingface/microsoft@main |
Timeline
| First seen |
2 Jul 2026 02:15 UTC |
| First analyzed |
2 Jul 2026 02:28 UTC |
| Last analyzed |
2 Jul 2026 02:28 UTC |
| Last updated |
2 Jul 2026 02:28 UTC |
Labeling
| Label |
good |
| Label source |
harvest |
| Traits version |
868bd |