bertforquestionanswering 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Guardian 2.0 — This package name is commonly hallucinated by AI coding assistants.
|
|
3
|
+
|
|
4
|
+
You probably meant to install: transformers
|
|
5
|
+
pip install transformers
|
|
6
|
+
|
|
7
|
+
This package was registered defensively to protect developers from
|
|
8
|
+
supply chain attacks that exploit AI package hallucinations.
|
|
9
|
+
|
|
10
|
+
Learn more: https://github.com/guardian2-pypi/guardian2
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import warnings
|
|
14
|
+
import sys
|
|
15
|
+
|
|
16
|
+
_MSG = (
|
|
17
|
+
"\n"
|
|
18
|
+
"==================================================================\n"
|
|
19
|
+
" GUARDIAN 2.0 WARNING\n"
|
|
20
|
+
"==================================================================\n"
|
|
21
|
+
" The package \'bertforquestionanswering\' does not exist.\n"
|
|
22
|
+
" This name is commonly hallucinated by AI coding assistants.\n"
|
|
23
|
+
"\n"
|
|
24
|
+
" You probably meant to install:\n"
|
|
25
|
+
" pip install transformers\n"
|
|
26
|
+
"\n"
|
|
27
|
+
" To fix:\n"
|
|
28
|
+
" pip uninstall bertforquestionanswering\n"
|
|
29
|
+
" pip install transformers\n"
|
|
30
|
+
"\n"
|
|
31
|
+
" This defensive package was registered by the Guardian 2.0\n"
|
|
32
|
+
" project to protect developers from AI hallucination attacks.\n"
|
|
33
|
+
" Learn more: https://github.com/guardian2-pypi/guardian2\n"
|
|
34
|
+
"==================================================================\n"
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
warnings.warn(_MSG, UserWarning, stacklevel=2)
|
|
38
|
+
print(_MSG, file=sys.stderr)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bertforquestionanswering
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Guardian package: 'bertforquestionanswering' is a commonly hallucinated package name. You probably meant 'transformers'.
|
|
5
|
+
Author-email: "Guardian Project 2.0" <guardian2-pypi@proton.me>
|
|
6
|
+
License: MIT
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Classifier: Development Status :: 1 - Planning
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Requires-Python: >=3.8
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
bertforquestionanswering/__init__.py,sha256=0mYSPWxjq8vWT5j9Pm4W5J6E4k4xLJG2jh77GFyUvXg,1294
|
|
2
|
+
bertforquestionanswering-0.1.0.dist-info/METADATA,sha256=5-jLqruEBAiJI_7BL6HHGu9n5echtiCLyu3jRIBKZMk,466
|
|
3
|
+
bertforquestionanswering-0.1.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
4
|
+
bertforquestionanswering-0.1.0.dist-info/licenses/LICENSE,sha256=2UiU8RzaVXJq_cOZmYNeGNUx-UxkXDsl1Z-LY3FktQE,818
|
|
5
|
+
bertforquestionanswering-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Guardian 2.0 Project
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|