Upload google_gemma-3n-E4B-it_0.py with huggingface_hub
Browse files- google_gemma-3n-E4B-it_0.py +6 -12
google_gemma-3n-E4B-it_0.py
CHANGED
@@ -1,23 +1,17 @@
|
|
1 |
# /// script
|
2 |
# requires-python = ">=3.12"
|
3 |
# dependencies = [
|
4 |
-
# "
|
|
|
5 |
# "torch",
|
|
|
|
|
|
|
|
|
6 |
# ]
|
7 |
# ///
|
8 |
|
9 |
try:
|
10 |
-
#@title Licensed under the Apache License, Version 2.0 (the "License");
|
11 |
-
# you may not use this file except in compliance with the License.
|
12 |
-
# You may obtain a copy of the License at
|
13 |
-
#
|
14 |
-
# https://www.apache.org/licenses/LICENSE-2.0
|
15 |
-
#
|
16 |
-
# Unless required by applicable law or agreed to in writing, software
|
17 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
18 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19 |
-
# See the License for the specific language governing permissions and
|
20 |
-
# limitations under the License.
|
21 |
with open('google_gemma-3n-E4B-it_0.txt', 'w') as f:
|
22 |
f.write('Everything was good in google_gemma-3n-E4B-it_0.txt')
|
23 |
except Exception as e:
|
|
|
1 |
# /// script
|
2 |
# requires-python = ">=3.12"
|
3 |
# dependencies = [
|
4 |
+
# "numpy",
|
5 |
+
# "einops",
|
6 |
# "torch",
|
7 |
+
# "transformers",
|
8 |
+
# "datasets",
|
9 |
+
# "accelerate",
|
10 |
+
# "timm",
|
11 |
# ]
|
12 |
# ///
|
13 |
|
14 |
try:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
with open('google_gemma-3n-E4B-it_0.txt', 'w') as f:
|
16 |
f.write('Everything was good in google_gemma-3n-E4B-it_0.txt')
|
17 |
except Exception as e:
|