Commit
·
12c1a30
1
Parent(s):
6341926
Update parquet files (step 23 of 121)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- spaces/101-5/gpt4free/g4f/Provider/Providers/You.py +0 -24
- spaces/1acneusushi/gradio-2dmoleculeeditor/HD-Online-Player-Wondershare-Video-Editor-5-V5011-Fin-HOT.md +0 -74
- spaces/1acneusushi/gradio-2dmoleculeeditor/data/Archshaders Vol 3 For Vray Free Download A Complete Guide to Evermotions Material Collection for 3ds Max and Mental Ray.md +0 -95
- spaces/1gistliPinn/ChatGPT4/Examples/Artlantis 2020 Crack Activation Code Full ((TOP)).md +0 -110
- spaces/1gistliPinn/ChatGPT4/Examples/Binding Of Isaac Afterbirth 1001 Save [Everything Unlocked].epub.md +0 -36
- spaces/1gistliPinn/ChatGPT4/Examples/BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] High Quality.md +0 -47
- spaces/1gistliPinn/ChatGPT4/Examples/Corel Products Keygen V3 3 Free Download.md +0 -30
- spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/ARK Survival Evolved APK - Explore Craft and Survive in a Massive Game World.md +0 -181
- spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Chessmen APK Enjoy the Classic Board Game with Stunning Graphics and Sound Effects.md +0 -144
- spaces/1phancelerku/anime-remove-background/APKMirror Gacha Life 1.0.9 - The Ultimate Dress-Up Game for Android.md +0 -149
- spaces/1phancelerku/anime-remove-background/Blockman GO - Adventures How to Download and Play on PC with BlueStacks.md +0 -97
- spaces/1phancelerku/anime-remove-background/Bowmasters Mod APK How to Get All the Legendary Heroes and Weapons.md +0 -114
- spaces/1phancelerku/anime-remove-background/Download EvoWars.io APK and Enjoy the Thrill of Fighting in the Deathmatch Arena.md +0 -138
- spaces/1phancelerku/anime-remove-background/Download Project Playtime and Join the Fun or the Fear - Itch.io.md +0 -196
- spaces/1phancelerku/anime-remove-background/Driving School APK - Drive Your Dream Car in Different Modes and Locations.md +0 -108
- spaces/AIGC-Audio/AudioGPT/NeuralSeq/tasks/tts/fs2_adv.py +0 -129
- spaces/AIGC-Audio/AudioGPT/text_to_audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/resample.py +0 -49
- spaces/AIGC-Audio/AudioGPT/text_to_speech/data_gen/tts/txt_processors/base_text_processor.py +0 -50
- spaces/AIGC-Audio/Make_An_Audio/ldm/modules/encoders/open_clap/bert.py +0 -32
- spaces/AIWaves/SOP_Generation-single/evolve.py +0 -17
- spaces/AchyuthGamer/OpenGPT/g4f/Provider/retry_provider.py +0 -88
- spaces/AgentVerse/agentVerse/agentverse_command/main_simulation_cli.py +0 -27
- spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/raycaster.js +0 -2
- spaces/AhmedTambal/malaria/README.md +0 -13
- spaces/Akmyradov/TurkmenTTSweSTT/vits/train.py +0 -290
- spaces/AleksBlacky/Arxiv_paper_classifier/model_api.py +0 -17
- spaces/AlexWang/lama/bin/side_by_side.py +0 -76
- spaces/Alican/pixera/app.py +0 -122
- spaces/Alpaca233/SadTalker/src/face3d/models/arcface_torch/configs/__init__.py +0 -0
- spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/docs/source/en/api/pipelines/repaint.md +0 -37
- spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/src/diffusers/schedulers/scheduling_utils_flax.py +0 -284
- spaces/Andy1621/uniformer_image_segmentation/configs/fp16/README.md +0 -25
- spaces/AnimaLab/bias-test-gpt-pairs/app.py +0 -1062
- spaces/AnnasBlackHat/Image-Similarity/src/similarity/model_implements/bit.py +0 -13
- spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/mmseg/datasets/voc.py +0 -29
- spaces/Anthony7906/MengHuiMXD_GPT/assets/Kelpy-Codos.js +0 -76
- spaces/Axolotlily/SketchThing/app.py +0 -121
- spaces/AymanKUMA/Speech-Bubbles-detector/README.md +0 -12
- spaces/Bart92/RVC_HF/Applio-RVC-Fork/utils/backups_test.py +0 -138
- spaces/Bart92/RVC_HF/Makefile +0 -63
- spaces/Benson/text-generation/Examples/Archero Mod Apk God Mode.md +0 -97
- spaces/Benson/text-generation/Examples/Bicicleta Real De Carreras Hack Mod Apk Dinero Ilimitado Y Oro.md +0 -55
- spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py +0 -940
- spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/urllib3/util/wait.py +0 -152
- spaces/Bobertsonthethird/Test01/README.md +0 -10
- spaces/CVH-vn1210/make_hair/minigpt4/models/modeling_llama.py +0 -772
- spaces/CVPR/GroupViT/README.md +0 -10
- spaces/CVPR/LIVE/thrust/thrust/system/detail/generic/memory.h +0 -71
- spaces/Chakri-kollepara-5/Mygena/README.md +0 -12
- spaces/ChenWu98/Stable-CycleDiffusion/seq_aligner.py +0 -196
spaces/101-5/gpt4free/g4f/Provider/Providers/You.py
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import json
|
3 |
-
import time
|
4 |
-
import subprocess
|
5 |
-
|
6 |
-
from ...typing import sha256, Dict, get_type_hints
|
7 |
-
|
8 |
-
url = 'https://you.com'
|
9 |
-
model = 'gpt-3.5-turbo'
|
10 |
-
supports_stream = True
|
11 |
-
needs_auth = False
|
12 |
-
|
13 |
-
def _create_completion(model: str, messages: list, stream: bool, **kwargs):
|
14 |
-
|
15 |
-
path = os.path.dirname(os.path.realpath(__file__))
|
16 |
-
config = json.dumps({
|
17 |
-
'messages': messages}, separators=(',', ':'))
|
18 |
-
|
19 |
-
cmd = ['python3', f'{path}/helpers/you.py', config]
|
20 |
-
|
21 |
-
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
22 |
-
|
23 |
-
for line in iter(p.stdout.readline, b''):
|
24 |
-
yield line.decode('utf-8') #[:-1]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/HD-Online-Player-Wondershare-Video-Editor-5-V5011-Fin-HOT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1 |
-
## HD Online Player (Wondershare Video Editor 5 V5011 Fin)
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
![HD Online Player (Wondershare Video Editor 5 V5011 Fin) \[HOT\]](https://www.findmysoft.com/thumb/130257.jpg)
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
**Click Here ☆☆☆☆☆ [https://jinyurl.com/2tzZUV](https://jinyurl.com/2tzZUV)**
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
Here is a possible title and article:
|
26 |
-
|
27 |
-
# How to Edit Videos with HD Online Player (Wondershare Video Editor 5 V5011 Fin)
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
If you are looking for a powerful and easy-to-use video editing tool for your PC, you might want to try HD Online Player (Wondershare Video Editor 5 V5011 Fin). This software allows you to create and customize video presentations with various effects, transitions, titles, and music. You can also upload your videos directly to YouTube and Vimeo, or save them in different formats for different devices. In this article, we will show you how to edit videos with HD Online Player (Wondershare Video Editor 5 V5011 Fin) in a few simple steps.
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
## Step 1: Download and Install HD Online Player (Wondershare Video Editor 5 V5011 Fin)
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
You can download HD Online Player (Wondershare Video Editor 5 V5011 Fin) from the official website[^3^]. The installation package is about 1.1 MB and it works fine with 32-bit versions of Windows XP/XP Professional/Vista/7/8/10/11. After downloading, run the setup file and follow the instructions to install the software on your PC.
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
## Step 2: Import Your Media Files
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
After launching HD Online Player (Wondershare Video Editor 5 V5011 Fin), you will see two video editing modes: Easy Mode and Full Feature Mode. Easy Mode lets you easily create your own movie by providing various built-in templates. Simply import your own media and youâre done. Full Feature Mode gives you more control over your video editing process. You can drag and drop your media files to the timeline, trim, crop, rotate, split, merge, and adjust them as you like. You can also add text, filters, overlays, transitions, elements, and music to enhance your video.
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
## Step 3: Edit Your Video
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
In Full Feature Mode, you can use the toolbar above the timeline to access different editing features. For example, you can use the razor tool to cut your video into segments, the keyframe tool to animate your clips or effects, and the masking tool to hide or reveal parts of your video. You can also use the preview window to check your edits in real time. If you want to edit audio, you can use the audio mixer to adjust the volume and balance of different tracks, or use the audio visualizer and auto ducking features to create dynamic sound effects.
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
## Step 4: Export or Share Your Video
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
When you are satisfied with your video editing, you can export or share your video in different ways. You can click the Export button on the top right corner of the interface to open the export window. Here you can choose from various output options, such as format, device, resolution, quality, frame rate, bitrate, etc. You can also burn your video to DVD or Blu-ray disc if you want. Alternatively, you can click the Share button on the top right corner of the interface to upload your video directly to YouTube or Vimeo. You just need to sign in with your account and enter some information about your video.
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
That's it! You have successfully edited a video with HD Online Player (Wondershare Video Editor 5 V5011 Fin). Now you can enjoy your masterpiece on any platform or device.
|
68 |
-
|
69 |
-
145887f19f
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Archshaders Vol 3 For Vray Free Download A Complete Guide to Evermotions Material Collection for 3ds Max and Mental Ray.md
DELETED
@@ -1,95 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>RND Portico 5043 Compressor Crack: What You Need to Know</h1>
|
3 |
-
<p>If you are a music producer, engineer, or mixer, you probably have heard of the RND Portico 5043 Compressor. This plugin is a software emulation of the famous hardware compressor designed by Rupert Neve, one of the most respected names in the audio industry. The RND Portico 5043 Compressor is known for its smooth and musical sound, its versatility, and its ease of use. It can add punch, warmth, glue, and dynamics to any audio source, from vocals to drums to guitars.</p>
|
4 |
-
<h2>rnd portico 5043 compressor crack</h2><br /><p><b><b>Download Zip</b> ✅ <a href="https://byltly.com/2uKwnY">https://byltly.com/2uKwnY</a></b></p><br /><br />
|
5 |
-
<p>But what if you don't have the money to buy this plugin, which costs $499.99 on Steinberg's website? You might be tempted to look for a crack version of it online, hoping to get the same quality for free. However, this is not a good idea. In this article, we will explain why cracking the RND Portico 5043 Compressor plugin is a bad idea, what are the risks and drawbacks of doing so, and what are some alternatives that you can use instead.</p>
|
6 |
-
<h2>The Features and Benefits of the RND Portico 5043 Compressor</h2>
|
7 |
-
<p>Before we dive into why you should not crack the RND Portico 5043 Compressor plugin, let's take a look at what makes this plugin so great in the first place. Here are some of the features and benefits of this plugin that make it stand out from other compressors:</p>
|
8 |
-
<ul>
|
9 |
-
<li><b>Two modes of operation: feed-forward and feed-back.</b> The plugin offers two different ways of applying compression: feed-forward and feed-back. Feed-forward mode is more modern and aggressive, while feed-back mode is more vintage and smooth. You can switch between them with a simple button, giving you more options and flexibility.</li>
|
10 |
-
<li><b>Threshold, ratio, attack, release, and gain controls.</b> The plugin has all the standard controls that you would expect from a compressor: threshold, ratio, attack, release, and gain. These allow you to adjust how much compression is applied, how fast it reacts, how long it lasts, and how loud it makes the signal. You can also use the auto-release function to let the plugin decide the best release time for you.</li>
|
11 |
-
<li><b>Sidechain input and output.</b> The plugin has a sidechain input and output that let you use an external signal to trigger the compression. This is useful for creating ducking effects, where one sound lowers the volume of another sound when it plays. For example, you can use a kick drum to duck a bass line or a vocal to duck a guitar.</li>
|
12 |
-
<li><b>Link function for stereo operation.</b> The plugin has a link function that lets you link two instances of the plugin for stereo operation. This means that both channels will have the same compression settings and will react together as one unit. This is useful for compressing stereo sources like drum overheads or piano.</li>
|
13 |
-
<li><b>VU meter and LED indicators.</b> The plugin has a VU meter that shows you how much gain reduction is happening on your signal. It also has LED indicators that show you when the signal is above or below the threshold level. These help you monitor your compression settings and make sure they are not too extreme or too subtle.</li>
|
14 |
-
<li><b>Analog sound and digital flexibility.</b> The plugin emulates the analog sound of the hardware compressor using Steinberg's VCM technology. This means that it adds subtle harmonics, saturation, and warmth to your signal, making it sound more natural and musical. However, it also has digital flexibility, meaning that it can run on any DAW platform without any latency or compatibility issues.</li>
|
15 |
-
</ul>
|
16 |
-
<h2>The Drawbacks and Risks of Cracking the RND Portico 5043 Compressor Plugin</h2>
|
17 |
-
<p>Now that we have seen what makes the RND Portico 5043 Compressor plugin so amazing, let's see why cracking it is not a good idea. Here are some of the drawbacks and risks of cracking this plugin:</p>
|
18 |
-
<ul>
|
19 |
-
<li><b>Legal issues and potential lawsuits.</b> Cracking any software is illegal and violates the terms of service of Steinberg and Rupert Neve Designs. If you crack this plugin, you are stealing their intellectual property and depriving them of their rightful income. You could face legal consequences if they find out about your piracy activities. They could sue you for damages or report you to law enforcement authorities . According to U.S. Copyright Law, copyright infringements can be punishable by up to five years in prison and $250,000 in fines. Repeat offenders can be imprisoned for up to 10 years. Violators can also be held civilly liable for actual damages, lost profits, or statutory damages up to $150,000 per work .</li>
|
20 |
-
<li><b>Malware and viruses.</b> Cracking any software exposes you to malware and viruses that could harm your computer or your data. Many crack websites are infected with malicious software that can steal your personal information, damage your files, or hijack your system. You could lose your important projects or compromise your online security if you download cracks from untrusted sources .</li>
|
21 |
-
<li><b>Poor performance and compatibility issues.</b> Cracking any software compromises its quality and functionality. Many crack versions of plugins are buggy, unstable, or incomplete. They could cause crashes, glitches, or errors on your DAW or your system. They could also have compatibility issues with other plugins or software updates. You could end up wasting your time troubleshooting problems instead of making music .</li>
|
22 |
-
<li><b>Lack of updates and support.</b> Cracking any software cuts you off from updates and support from Steinberg and Rupert Neve Designs. You will not be able to access new features, bug fixes, or improvements that they release for their plugins. You will also not be able to contact them for technical assistance or customer service if you encounter any issues with their plugins. You will be stuck with an outdated and unsupported version of their product .</li>
|
23 |
-
<li><b>Ethical concerns and reputation damage.</b> Cracking any software is unethical and disrespectful to Steinberg and Rupert Neve Designs. They have invested a lot of time, money, and effort into creating their plugins for your benefit. They deserve to be compensated for their work and rewarded for their innovation. If you crack their plugins, you are showing them that you do not value their contribution to the audio industry. You are also damaging your own reputation as a professional or an enthusiast who cares about quality music production .</li>
|
24 |
-
</ul>
|
25 |
-
<h2>The Alternatives to Cracking the RND Portico 5043 Compressor Plugin</h2>
|
26 |
-
<p>If cracking the RND Portico 5043 Compressor plugin is such a bad idea, what can you do instead? Here are some alternatives that you can consider:</p>
|
27 |
-
<ul>
|
28 |
-
<li><b>Buying the original plugin from Steinberg or authorized dealers.</b> The best option is to buy the original plugin from Steinberg's website or from authorized dealers like Sweetwater or Plugin Boutique. This way, you will get all the benefits of using this plugin without any drawbacks or risks. You will also support Steinberg and Rupert Neve Designs in their business endeavors.</li>
|
29 |
-
<li><b>Renting the plugin from online platforms like Splice or Gobbler.</b> Another option is to rent the plugin from online platforms like Splice or Gobbler. These platforms allow you to pay a monthly fee to access hundreds of plugins from various developers. You can use them as long as you want without buying them outright. This way, you can save money while still enjoying high-quality plugins like the RND Portico 5043 Compressor.</li>
|
30 |
-
<li><b>Using free or cheaper plugins that emulate the RND Portico 5043 Compressor.</b> A third option is to use free or cheaper plugins that emulate the RND Portico 5043 Compressor in some way. For example, you can try the TDR Kotelnikov by Tokyo Dawn Labs, which is a free compressor plugin that has a similar layout and sound as the RND Portico 5043 Compressor. Or you can try the MJUC by Klanghelm, which is a cheap compressor plugin that has three modes of operation that resemble the feed-forward and feed-back modes of the RND Portico 5043 Compressor.</li>
|
31 |
-
</ul>
|
32 |
-
<h1>Conclusion</h1>
|
33 |
-
<p>The RND Portico 5043 Compressor is a fantastic plugin that can enhance your music production with its smooth and musical compression sound. However, cracking it is not worth it, as it can expose you to legal troubles, malware infections, poor performance issues, lack of updates and support, and ethical dilemmas. Instead of cracking it, you should consider buying it from Steinberg or authorized dealers, renting it from online platforms like Splice or Gobbler, or using free or cheaper plugins that emulate it in some way. By doing so, you will not only enjoy the benefits of this plugin but also respect the work of Steinberg and Rupert Neve Designs.</p>
|
34 |
-
<p>rnd portico 5043 plugin free download<br />
|
35 |
-
how to install rnd portico 5043 compressor<br />
|
36 |
-
rnd portico 5043 compressor review<br />
|
37 |
-
rnd portico 5043 compressor serial number<br />
|
38 |
-
rnd portico 5043 compressor vs hardware<br />
|
39 |
-
rnd portico 5043 compressor manual<br />
|
40 |
-
rnd portico 5043 compressor settings<br />
|
41 |
-
rnd portico 5043 compressor vst<br />
|
42 |
-
rnd portico 5043 compressor mac<br />
|
43 |
-
rnd portico 5043 compressor windows<br />
|
44 |
-
rnd portico 5043 compressor license key<br />
|
45 |
-
rnd portico 5043 compressor activation code<br />
|
46 |
-
rnd portico 5043 compressor keygen<br />
|
47 |
-
rnd portico 5043 compressor torrent<br />
|
48 |
-
rnd portico 5043 compressor rar<br />
|
49 |
-
rnd portico 5043 compressor zip<br />
|
50 |
-
rnd portico 5043 compressor full version<br />
|
51 |
-
rnd portico 5043 compressor demo<br />
|
52 |
-
rnd portico 5043 compressor trial<br />
|
53 |
-
rnd portico 5043 compressor crack reddit<br />
|
54 |
-
rnd portico 5043 compressor crack youtube<br />
|
55 |
-
rnd portico 5043 compressor crack forum<br />
|
56 |
-
rnd portico 5043 compressor crack blogspot<br />
|
57 |
-
rnd portico 5043 compressor crack tutorial<br />
|
58 |
-
rnd portico 5043 compressor crack guide<br />
|
59 |
-
rnd portico 5043 compressor feed-forward mode<br />
|
60 |
-
rnd portico 5043 compressor feed-back mode<br />
|
61 |
-
rnd portico 5043 compressor sidechain input<br />
|
62 |
-
rnd portico 5043 compressor threshold control<br />
|
63 |
-
rnd portico 5043 compressor ratio control<br />
|
64 |
-
rnd portico 5043 compressor attack control<br />
|
65 |
-
rnd portico 5043 compressor release control<br />
|
66 |
-
rnd portico 5043 compressor gain control<br />
|
67 |
-
rnd portico 5043 compressor bypass switch<br />
|
68 |
-
rnd portico 5043 compressor link switch<br />
|
69 |
-
rnd portico 5043 compressor meter switch<br />
|
70 |
-
rnd portico 5043 compressor best presets<br />
|
71 |
-
rnd portico 5043 compressor tips and tricks<br />
|
72 |
-
rnd portico 5043 compressor comparison test<br />
|
73 |
-
rnd portico 5043 compressor sound examples<br />
|
74 |
-
how to use rnd portico 5043 compressor on vocals <br />
|
75 |
-
how to use rnd portico 5043 compressor on drums <br />
|
76 |
-
how to use rnd portico 5043 compressor on bass <br />
|
77 |
-
how to use rnd portico 5043 compressor on guitar <br />
|
78 |
-
how to use rnd portico 5043 compressor on piano <br />
|
79 |
-
how to use rnd portico 5043 compressor on synths <br />
|
80 |
-
how to use rnd portico 5043 compressor on mix bus <br />
|
81 |
-
how to use rnd portico 5043 compressor on mastering <br />
|
82 |
-
where to buy rnd portico 5043 compressor plugin <br />
|
83 |
-
where to get rnd portico 5043 compressor plugin support</p>
|
84 |
-
<h2>FAQs</h2>
|
85 |
-
<p>Here are some frequently asked questions about the RND Portico 5043 Compressor Crack:</p>
|
86 |
-
<ol>
|
87 |
-
<li><b>What is the difference between feed-forward and feed-back modes?</b> Feed-forward mode applies compression based on the input signal level, while feed-back mode applies compression based on the output signal level. Feed-forward mode is more modern and aggressive, while feed-back mode is more vintage and smooth.</li>
|
88 |
-
<li><b>How do I use sidechain compression with this plugin?</b> To use sidechain compression with this plugin, you need to route an external signal to the sidechain input of the plugin. Then you need to adjust the threshold and ratio controls to set how much compression is applied based on the sidechain signal level.</li>
|
89 |
-
<li><b>How do I link two instances of this plugin for stereo operation?</b> To link two instances of this plugin for stereo operation, you need to insert them on two stereo tracks in your DAW. Then you need to activate the link function on both instances by clicking on the link button on the plugin interface.</li>
|
90 |
-
<li><b>How do I monitor the gain reduction on this plugin?</b> To monitor the gain reduction on this plugin, you need to look at the VU meter on the plugin interface. The VU meter shows how much gain reduction is happening on your signal in decibels (dB).</li>
|
91 |
-
<li><b>How do I update this plugin?</b> To update this plugin, you need to visit Steinberg's website and download the latest version of the plugin installer. Then you need to run the installer and follow the instructions to install the update on your system.</li>
|
92 |
-
</ol>
|
93 |
-
</p> 0a6ba089eb<br />
|
94 |
-
<br />
|
95 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1gistliPinn/ChatGPT4/Examples/Artlantis 2020 Crack Activation Code Full ((TOP)).md
DELETED
@@ -1,110 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Artlantis 2020 Crack Activation Code Full: Cómo descargarlo y usarlo</h1>
|
3 |
-
<p>¿Te gustaría crear imágenes y animaciones 3D de alta calidad para tus proyectos de arquitectura y diseño? Si es así, necesitas Artlantis 2020, el software de renderizado 3D más fácil y rápido del mercado. Artlantis 2020 es compatible con todos los programas de modelado 3D y te permite simular, presentar y comunicar tus ideas con un realismo impresionante. Pero, ¿cómo puedes obtener Artlantis 2020 sin pagar nada? La respuesta es Artlantis 2020 Crack Activation Code Full, una versión pirata que te permite usar el programa de forma gratuita e ilimitada. En este artículo, te vamos a mostrar cómo descargar y usar Artlantis 2020 Crack Activation Code Full de forma segura y sencilla.</p>
|
4 |
-
<h2>Qué es Artlantis 2020 Crack Activation Code Full</h2>
|
5 |
-
<p>Artlantis 2020 Crack Activation Code Full es una versión modificada de Artlantis 2020 que elimina la necesidad de introducir un código de activación para usar el programa. El código de activación es un número único que se genera al comprar el programa y que sirve para verificar su autenticidad. Sin embargo, con Artlantis 2020 Crack Activation Code Full, puedes saltarte este paso y usar el programa sin restricciones.</p>
|
6 |
-
<h2>Artlantis 2020 Crack Activation Code Full</h2><br /><p><b><b>Download Zip</b> ➡ <a href="https://imgfil.com/2uxZpE">https://imgfil.com/2uxZpE</a></b></p><br /><br />
|
7 |
-
<p>Artlantis 2020 Crack Activation Code Full tiene las mismas funciones y características que la versión original, como:</p>
|
8 |
-
<ul>
|
9 |
-
<li>Una interfaz clara y ergonómica que facilita el aprendizaje y el uso del programa.</li>
|
10 |
-
<li>Una vista previa en tiempo real que te permite ver los resultados de cada cambio que hagas en la escena 3D.</li>
|
11 |
-
<li>Una velocidad y eficiencia excepcionales en la visualización y el renderizado de la escena.</li>
|
12 |
-
<li>Una iluminación global que asegura el realismo de las escenas.</li>
|
13 |
-
<li>Una ventana 2D para posicionar las cámaras o las secuencias.</li>
|
14 |
-
<li>Un control de la profundidad de campo, el ISO y la velocidad de obturación para cada vista.</li>
|
15 |
-
<li>Unas vistas paralelas (proyecciones y cortes) que se pueden configurar según el tipo de proyección, la posición de la cámara, el ancho de la vista o la definición de los planos de corte.</li>
|
16 |
-
<li>Unas perspectivas y unas verticales que se pueden ajustar fácilmente.</li>
|
17 |
-
<li>Unos shaders y unos objetos que se pueden arrastrar y soltar en la escena.</li>
|
18 |
-
<li>Unos medios (imágenes, texturas, objetos 3D) que se pueden importar desde otros programas o desde Internet.</li>
|
19 |
-
<li>Unos efectos (niebla, lente, relieve) que se pueden aplicar a las imágenes.</li>
|
20 |
-
<li>Unos formatos de salida (JPEG, PNG, PSD, TIFF) que se pueden elegir según las necesidades.</li>
|
21 |
-
</ul>
|
22 |
-
<p>Artlantis 2020 Crack Activation Code Full te permite crear imágenes y animaciones 3D de forma fácil y rápida, sin tener que pagar nada por el programa. Sin embargo, debes tener en cuenta que al usar esta versión pirata estás violando los derechos de autor del creador del programa y que puedes exponerte a riesgos de seguridad o de funcionamiento.</p>
|
23 |
-
<h2>Cómo descargar Artlantis 2020 Crack Activation Code Full</h2>
|
24 |
-
<p>Para descargar Artlantis 2020 Crack Activation Code Full, solo tienes que seguir estos pasos:</p>
|
25 |
-
<p></p>
|
26 |
-
<ol>
|
27 |
-
<li>Accede a alguno de los sitios web que ofrecen el programa de forma gratuita. Algunos ejemplos son haxNode, Pirate4All y XterNull.</li>
|
28 |
-
<li>Busca Artlantis 2020 Crack Activation Code Full en el buscador del sitio web o en la sección de software o aplicaciones.</li>
|
29 |
-
<li>Selecciona el programa que corresponda a la versión final de Artlantis 2020.</li>
|
30 |
-
<li>Descarga el programa en formato ZIP haciendo clic en el botón de descarga o en el enlace que lo indique.</li>
|
31 |
-
<li>Guarda el programa en tu dispositivo o ábrelo con un descompresor de archivos.</li>
|
32 |
-
</ol>
|
33 |
-
<p>Así de fácil es descargar Artlantis 2020 Crack Activation Code Full. Ahora ya puedes instalarlo y usarlo en tu ordenador.</p>
|
34 |
-
<h2>Cómo instalar y usar Artlantis 2020 Crack Activation Code Full</h2>
|
35 |
-
<p>Para instalar y usar Artlantis 2020 Crack Activation Code Full, solo tienes que seguir estos pasos:</p>
|
36 |
-
<ol>
|
37 |
-
<li>Abre la carpeta donde has guardado o descomprimido el programa.</li>
|
38 |
-
<li>Ejecuta el archivo "Setup.exe" como administrador y sigue las instrucciones que aparezcan en la pantalla para instalar el programa.</li>
|
39 |
-
<li>No abras el programa después de instalarlo. Cierra todas las ventanas relacionadas con el programa.</li>
|
40 |
-
<li>Copia el archivo "Crack.exe" que se encuentra en la carpeta "Crack" y pégalo en la carpeta donde se ha instalado el programa. Normalmente, esta carpeta se encuentra en "C:\Program Files\Artlantis Studio".</li>
|
41 |
-
<li>Ejecuta el archivo "Crack.exe" como administrador y espera a que se complete el proceso de activación.</li>
|
42 |
-
<li>Ahora ya puedes abrir el programa y usarlo sin necesidad de introducir ningún código de activación.</li>
|
43 |
-
</ol>
|
44 |
-
|
45 |
-
<p>Felicidades, has instalado y activado Artlantis 2020 Crack Activation Code Full con éxito. Ahora ya puedes disfrutar de este software de renderizado 3D y crear imágenes y animaciones increíbles para tus proyectos. Recuerda que al usar esta versión pirata estás violando los derechos de autor del creador del programa y que puedes exponerte a riesgos de seguridad o de funcionamiento. Si te gusta el programa y quieres apoyar su desarrollo, te recomendamos comprar la versión original desde su sitio web oficial.</p>
|
46 |
-
|
47 |
-
<p>Esperamos que este artículo te haya sido útil y que hayas podido descargar e instalar Artlantis 2020 Crack Activation Code Full sin problemas. Si tienes alguna duda o sugerencia, puedes dejarla en los comentarios. Gracias por leer este artículo hasta el final.</p>
|
48 |
-
<h2>Cómo crear imágenes y animaciones 3D con Artlantis 2020 Crack Activation Code Full</h2>
|
49 |
-
<p>Una vez que hayas instalado y activado Artlantis 2020 Crack Activation Code Full, puedes empezar a crear imágenes y animaciones 3D con este programa. Para ello, solo tienes que seguir estos pasos:</p>
|
50 |
-
<ol>
|
51 |
-
<li>Abre el programa y selecciona el tipo de proyecto que quieres crear: imagen o animación.</li>
|
52 |
-
<li>Importa el modelo 3D que quieres renderizar desde tu programa de modelado 3D o desde Internet. Puedes arrastrar y soltar el archivo en la ventana del programa o usar el menú Archivo - Importar.</li>
|
53 |
-
<li>Ajusta la vista de la escena 3D según tus preferencias. Puedes cambiar la perspectiva, el ángulo, el zoom, la profundidad de campo, etc. También puedes usar la ventana 2D para posicionar las cámaras o las secuencias.</li>
|
54 |
-
<li>Añade los shaders y los objetos que quieras a la escena 3D. Puedes usar los que vienen incluidos en el programa o descargarlos desde Internet. Puedes arrastrar y soltar los shaders y los objetos en la escena o usar el menú Catálogo - Añadir.</li>
|
55 |
-
<li>Ajusta la iluminación y el ambiente de la escena 3D según tus preferencias. Puedes cambiar la intensidad, el color, la dirección, etc. de las luces. También puedes añadir efectos como niebla, lente o relieve.</li>
|
56 |
-
<li>Renderiza la imagen o la animación 3D haciendo clic en el botón Renderizar o usando el menú Renderizar - Iniciar.</li>
|
57 |
-
<li>Guarda la imagen o la animación 3D en el formato que quieras. Puedes elegir entre JPEG, PNG, PSD, TIFF, etc. Usa el menú Archivo - Guardar como.</li>
|
58 |
-
</ol>
|
59 |
-
<p>Así de fácil es crear imágenes y animaciones 3D con Artlantis 2020 Crack Activation Code Full. Ahora ya puedes mostrar tus proyectos con un realismo impresionante y sorprender a tus clientes o colaboradores.</p>
|
60 |
-
|
61 |
-
<h2>Cómo mejorar tus imágenes y animaciones 3D con Artlantis 2020 Crack Activation Code Full</h2>
|
62 |
-
<p>Si quieres mejorar tus imágenes y animaciones 3D con Artlantis 2020 Crack Activation Code Full, te recomendamos que sigas estos consejos:</p>
|
63 |
-
<ul>
|
64 |
-
<li>Usa modelos 3D de buena calidad y con un nivel de detalle adecuado. Evita los modelos demasiado complejos o pesados que puedan ralentizar el renderizado o provocar errores.</li>
|
65 |
-
<li>Usa shaders y objetos que se adapten al estilo y al contexto de tu proyecto. Evita los shaders y objetos que no tengan sentido o que desentonen con el resto de la escena.</li>
|
66 |
-
<li>Usa una iluminación natural y coherente con la hora del día y la orientación de tu proyecto. Evita las luces demasiado fuertes o débiles que puedan generar sombras o brillos indeseados.</li>
|
67 |
-
<li>Usa efectos con moderación y solo cuando aporten valor a tu proyecto. Evita los efectos excesivos o innecesarios que puedan distorsionar o restar calidad a tu imagen o animación.</li>
|
68 |
-
<li>Usa un formato de salida adecuado a tu propósito y a tu público. Evita los formatos que no sean compatibles con tu dispositivo o plataforma o que pierdan calidad al comprimirse.</li>
|
69 |
-
</ul>
|
70 |
-
<p>Siguiendo estos consejos, podrás mejorar tus imágenes y animaciones 3D con Artlantis 2020 Crack Activation Code Full y conseguir resultados profesionales y espectaculares.</p>
|
71 |
-
|
72 |
-
<p>Esperamos que este artículo te haya sido útil y que hayas podido descargar e instalar Artlantis 2020 Crack Activation Code Full sin problemas. Si tienes alguna duda o sugerencia, puedes dejarla en los comentarios. Gracias por leer este artículo hasta el final.</p>
|
73 |
-
<h2>Cómo solucionar los problemas más comunes de Artlantis 2020 Crack Activation Code Full</h2>
|
74 |
-
<p>Aunque Artlantis 2020 Crack Activation Code Full es un programa muy fácil y rápido de usar, puede que te encuentres con algunos problemas o errores al usarlo. Estos problemas pueden deberse a la versión pirata del programa, a la incompatibilidad con tu sistema operativo o a la configuración de tu ordenador. A continuación, te mostramos cómo solucionar los problemas más comunes de Artlantis 2020 Crack Activation Code Full:</p>
|
75 |
-
<ul>
|
76 |
-
<li>El programa no se abre o se cierra inesperadamente: Esto puede deberse a que el crack no se ha aplicado correctamente o a que el programa está bloqueado por tu antivirus o firewall. Para solucionarlo, asegúrate de haber seguido los pasos para instalar y activar el programa correctamente. También puedes desactivar temporalmente tu antivirus o firewall o añadir el programa a la lista de excepciones.</li>
|
77 |
-
<li>El programa no reconoce el modelo 3D o lo muestra de forma incorrecta: Esto puede deberse a que el modelo 3D está en un formato no compatible con el programa o a que tiene un nivel de detalle demasiado alto. Para solucionarlo, asegúrate de que el modelo 3D está en uno de los formatos compatibles con el programa, como SKP, OBJ, FBX, DWG, DXF, etc. También puedes reducir el nivel de detalle del modelo 3D usando tu programa de modelado 3D o un conversor online.</li>
|
78 |
-
<li>El programa tarda mucho en renderizar la imagen o la animación 3D o se queda bloqueado: Esto puede deberse a que la escena 3D es demasiado compleja o a que la configuración del renderizado es demasiado alta. Para solucionarlo, puedes simplificar la escena 3D eliminando los elementos innecesarios o reduciendo el número de luces, shaders y objetos. También puedes bajar la configuración del renderizado ajustando la calidad, la resolución, el número de pases, etc.</li>
|
79 |
-
<li>La imagen o la animación 3D tiene una calidad baja o presenta defectos: Esto puede deberse a que la configuración del renderizado es demasiado baja o a que el formato de salida es inadecuado. Para solucionarlo, puedes subir la configuración del renderizado aumentando la calidad, la resolución, el número de pases, etc. También puedes elegir un formato de salida adecuado a tu propósito y a tu público, como JPEG, PNG, PSD, TIFF, etc.</li>
|
80 |
-
</ul>
|
81 |
-
<p>Siguiendo estos consejos, podrás solucionar los problemas más comunes de Artlantis 2020 Crack Activation Code Full y usar el programa sin inconvenientes.</p>
|
82 |
-
|
83 |
-
<h2>Cómo comprar la versión original de Artlantis 2020</h2>
|
84 |
-
<p>Si te ha gustado Artlantis 2020 Crack Activation Code Full y quieres comprar la versión original del programa, te explicamos cómo hacerlo:</p>
|
85 |
-
<ol>
|
86 |
-
<li>Accede al sitio web oficial de Artlantis desde tu navegador.</li>
|
87 |
-
<li>Haz clic en el botón "Buy" que se encuentra en la parte superior derecha de la página.</li>
|
88 |
-
<li>Elige el tipo de licencia que quieres comprar: individual o educativa.</li>
|
89 |
-
<li>Rellena el formulario con tus datos personales y profesionales.</li>
|
90 |
-
<li>Selecciona el método de pago que prefieras: tarjeta de crédito o PayPal.</li>
|
91 |
-
<li>Confirma tu pedido y espera a recibir el código de activación por correo electrónico.</li>
|
92 |
-
<li>Descarga e instala el programa desde el sitio web oficial siguiendo las instrucciones que te envíen.</li>
|
93 |
-
<li>Introduce el código de activación cuando te lo soliciten y disfruta del programa.</li>
|
94 |
-
</ol>
|
95 |
-
<p>Así de fácil es comprar la versión original de Artlantis 2020. Al hacerlo, podrás disfrutar de las siguientes ventajas:</p>
|
96 |
-
<ul>
|
97 |
-
<li>Tendrás acceso a las actualizaciones y mejoras del programa.</li>
|
98 |
-
<li>Tendrás soporte técnico y garantía del programa.</li>
|
99 |
-
<li>Tendrás una versión oficial y segura del programa.</li>
|
100 |
-
<li>Tendrás una licencia legal y ética del programa.</li>
|
101 |
-
<li>Tendrás acceso a los recursos y tutoriales del sitio web oficial.</li>
|
102 |
-
</ul>
|
103 |
-
<p>Comprar la versión original de Artlantis 2020 es una inversión inteligente si quieres usar el programa de forma profesional o duradera. Por eso, te recomendamos que si te gusta el programa y quieres apoyar su desarrollo, compres la versión original desde su sitio web oficial.</p>
|
104 |
-
|
105 |
-
<p>Esperamos que este artículo te haya sido útil y que hayas podido descargar e instalar Artlantis 2020 Crack Activation Code Full sin problemas. Si tienes alguna duda o sugerencia, puedes dejarla en los comentarios. Gracias por leer este artículo hasta el final.</p>
|
106 |
-
<p>Conclusión</p>
|
107 |
-
<p>En este artículo, hemos visto cómo descargar, instalar y usar Artlantis 2020 Crack Activation Code Full, una versión pirata del software de renderizado 3D más fácil y rápido del mercado. Artlantis 2020 Crack Activation Code Full te permite crear imágenes y animaciones 3D de alta calidad para tus proyectos de arquitectura y diseño sin pagar nada por el programa. Sin embargo, también te hemos mostrado los riesgos y las desventajas que implica usar esta versión pirata, así como los consejos para mejorar y solucionar tus imágenes y animaciones 3D. Por último, te hemos explicado cómo comprar la versión original de Artlantis 2020 desde su sitio web oficial y las ventajas que tiene hacerlo.</p>
|
108 |
-
<p>Esperamos que este artículo te haya sido útil y que hayas podido descargar e instalar Artlantis 2020 Crack Activation Code Full sin problemas. Si tienes alguna duda o sugerencia, puedes dejarla en los comentarios. Gracias por leer este artículo hasta el final.</p> 3cee63e6c2<br />
|
109 |
-
<br />
|
110 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1gistliPinn/ChatGPT4/Examples/Binding Of Isaac Afterbirth 1001 Save [Everything Unlocked].epub.md
DELETED
@@ -1,36 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>The Binding of Isaac: Afterbirth - How to Unlock Everything</h1>
|
3 |
-
<p>The Binding of Isaac: Afterbirth is a massively updated expansion to the 2014's roguelike of the year, The Binding of Isaac: Rebirth. It features over 100 hours of new gameplay, new items, new bosses, new modes, new challenges, and more. If you are a fan of this game and want to unlock everything it has to offer, you might be interested in this guide.</p>
|
4 |
-
<h2>Binding Of Isaac Afterbirth 1001 Save [Everything Unlocked].epub</h2><br /><p><b><b>DOWNLOAD</b> ✅ <a href="https://imgfil.com/2uy03c">https://imgfil.com/2uy03c</a></b></p><br /><br />
|
5 |
-
<p>In this guide, we will show you how to unlock everything in The Binding of Isaac: Afterbirth, from characters and items to endings and achievements. We will also provide some tips and tricks to help you along the way. Note that this guide assumes that you have the base game The Binding of Isaac: Rebirth and the Afterbirth DLC installed. Some of the unlocks may require you to have the Afterbirth+ DLC as well.</p>
|
6 |
-
<p>Without further ado, let's get started!</p>
|
7 |
-
<h2>How to Unlock Characters</h2>
|
8 |
-
<p>The Binding of Isaac: Afterbirth has 13 playable characters, each with their own unique abilities and stats. Some of them are unlocked by default, while others require you to complete certain tasks or challenges. Here is how to unlock each character:</p>
|
9 |
-
<ul>
|
10 |
-
<li><strong>Isaac</strong>: Unlocked by default.</li>
|
11 |
-
<li><strong>Maggie</strong>: Unlocked by having 7 or more red heart containers at once.</li>
|
12 |
-
<li><strong>Cain</strong>: Unlocked by having 55 or more coins at once.</li>
|
13 |
-
<li><strong>Judas</strong>: Unlocked by defeating Satan for the first time.</li>
|
14 |
-
<li><strong>Eve</strong>: Unlocked by not picking up any hearts for two floors in a row.</li>
|
15 |
-
<li><strong>Samson</strong>: Unlocked by skipping two treasure rooms and beating Mom's Heart for the first time.</li>
|
16 |
-
<li><strong>Azazel</strong>: Unlocked by making three deals with the devil in one run.</li>
|
17 |
-
<li><strong>Lazarus</strong>: Unlocked by having four or more soul hearts at once.</li>
|
18 |
-
<li><strong>Eden</strong>: Unlocked by beating Mom's Heart for the first time. Requires one Eden token to play, which can be obtained by beating Mom's Heart or It Lives on any run.</li>
|
19 |
-
<li><strong>The Lost</strong>: Unlocked by dying in a sacrifice room while holding Missing Poster (a trinket). Alternatively, unlocked by dying in a specific order with certain characters: Isaac to a Mulliboom in Basement/Cellar 1, Maggie to her own bomb in Caves/Catacombs 1, Judas to any Mom attack in Depths/Necropolis 1, and Azazel to any attack from Satan in Sheol.</li>
|
20 |
-
<li><strong>Lilith</strong>: Unlocked by beating Greed Mode with Azazel.</li>
|
21 |
-
<li><strong>Keeper</strong>: Unlocked by donating 1000 coins to the Greed Machine (a machine that appears after beating Ultra Greed in Greed Mode).</li>
|
22 |
-
<li><strong>Apollyon</strong>: Unlocked by defeating Mega Satan for the first time.</li>
|
23 |
-
</ul>
|
24 |
-
<h2>How to Unlock Items</h2>
|
25 |
-
<p>The Binding of Isaac: Afterbirth has over 500 items that can alter your appearance, stats, and abilities. Some of them are found randomly in treasure rooms, shops, secret rooms, devil deals, angel rooms, curse rooms, chests, etc. Others require you to complete certain tasks or challenges to unlock them. Here is how to unlock some of the most notable items:</p>
|
26 |
-
<p></p>
|
27 |
-
<ul>
|
28 |
-
<li><strong>D6</strong>: Unlocked by beating ??? (the boss of The Chest) with Isaac.</li>
|
29 |
-
<li><strong>D20</strong>: Unlocked by beating ??? (the boss of The Chest) with ??? (the character).</li>
|
30 |
-
<li><strong>D100</strong>: Unlocked by beating ??? (the boss of The Chest) with The Lost.</li>
|
31 |
-
<li><strong>D4</strong>: Unlocked by beating ??? (the boss of The Chest) with Lazarus.</li>
|
32 |
-
<li><strong>D8</strong>: Unlocked by beating ??? (the boss of The Chest) with Eden.</li>
|
33 |
-
<li><strong>D10</strong>: Unlocked by beating ??? (the boss of The Chest) with Samson.</li>
|
34 |
-
<li><strong>D12</strong>: Un</p> d5da3c52bf<br />
|
35 |
-
<br />
|
36 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1gistliPinn/ChatGPT4/Examples/BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] High Quality.md
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
|
2 |
-
---> ServiceClient failure for DeepLeo[/ERROR]</p>
|
3 |
-
<h2>BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest]</h2><br /><p><b><b>Download File</b> === <a href="https://imgfil.com/2uxY2N">https://imgfil.com/2uxY2N</a></b></p><br /><br />
|
4 |
-
<h2>What is BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest]?</h2>
|
5 |
-
|
6 |
-
<p>BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] is a cracked version of the official BitTorrent Pro software, which is a peer-to-peer file sharing (P2P) communications protocol. BitTorrent Pro allows you to download and share any data in a .torrent format and large sized file easily without hosting. It also offers some premium features, such as streaming, antivirus protection, HD media player, file converter, remote access to files, and ad-free experience.</p>
|
7 |
-
|
8 |
-
<p>BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] is a modified version of the original software that bypasses the license verification and activation process. It also includes a keygen, which is a software tool that generates a serial key for the software. By using the crack and the keygen, you can get access to BitTorrent Pro for free and without any limitations.</p>
|
9 |
-
|
10 |
-
<h2>Why Use BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest]?</h2>
|
11 |
-
|
12 |
-
<p>Some of the reasons why you might want to use BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] are:</p>
|
13 |
-
|
14 |
-
<ul>
|
15 |
-
<li>You want to save money and avoid paying for the official BitTorrent Pro software.</li>
|
16 |
-
<li>You want to enjoy the premium features of BitTorrent Pro without any restrictions or ads.</li>
|
17 |
-
<li>You want to download and share large files faster and more efficiently.</li>
|
18 |
-
<li>You want to stream videos and music directly from torrent files.</li>
|
19 |
-
<li>You want to protect your computer from viruses and malware that might be hidden in torrent files.</li>
|
20 |
-
<li>You want to convert downloaded files to different formats and play them on various devices.</li>
|
21 |
-
<li>You want to access your downloaded files remotely from any device.</li>
|
22 |
-
</ul>
|
23 |
-
|
24 |
-
<h2>How to Download and Install BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest]?</h2>
|
25 |
-
|
26 |
-
<p>To download and install BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest], you need to follow these steps:</p>
|
27 |
-
|
28 |
-
<ol>
|
29 |
-
<li>Download the BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] file from a reliable source on the internet.</li>
|
30 |
-
<li>Extract the file using a file archiver program, such as WinRAR or 7-Zip.</li>
|
31 |
-
<li>Run the setup file and follow the instructions to install BitTorrent Pro on your computer.</li>
|
32 |
-
<li>Do not run the program after installation.</li>
|
33 |
-
<li>Copy the crack file and paste it into the installation directory of BitTorrent Pro.</li>
|
34 |
-
<li>Run the keygen file and generate a serial key for BitTorrent Pro.</li>
|
35 |
-
<li>Launch BitTorrent Pro and enter the serial key when prompted.</li>
|
36 |
-
<li>Enjoy using BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest].</li>
|
37 |
-
</ol>
|
38 |
-
|
39 |
-
<h2>Conclusion</h2>
|
40 |
-
|
41 |
-
<p>BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] is a cracked version of the official BitTorrent Pro software, which is a peer-to-peer file sharing (P2P) communications protocol. It allows you to download and share any data in a .torrent format and large sized file easily without hosting. It also offers some premium features, such as streaming, antivirus protection, HD media player, file converter, remote access to files, and ad-free experience. To use BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest], you need to download and install it on your computer using the crack and the keygen provided in the file.</p>
|
42 |
-
<p></p>
|
43 |
-
<h2>Conclusion</h2>
|
44 |
-
|
45 |
-
<p>BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest] is a cracked version of the official BitTorrent Pro software, which is a peer-to-peer file sharing (P2P) communications protocol. It allows you to download and share any data in a .torrent format and large sized file easily without hosting. It also offers some premium features, such as streaming, antivirus protection, HD media player, file converter, remote access to files, and ad-free experience. To use BitTorrent Pro 7.10.5 Crack With Keygen 2020 [Latest], you need to download and install it on your computer using the crack and the keygen provided in the file.</p> 3cee63e6c2<br />
|
46 |
-
<br />
|
47 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1gistliPinn/ChatGPT4/Examples/Corel Products Keygen V3 3 Free Download.md
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
<h2>corel products keygen v3 3 free download</h2><br /><p><b><b>DOWNLOAD</b> ->>> <a href="https://imgfil.com/2uy0Kv">https://imgfil.com/2uy0Kv</a></b></p><br /><br />
|
2 |
-
<br />
|
3 |
-
The crack is an absolutely silent one. Corel Products License Key contains a specially hidden code that will enable the keygen to activate your Product. It can also activate multiple...
|
4 |
-
|
5 |
-
Word Crack Professional 10.12.0.2 Crack + Product Key Full Version Download
|
6 |
-
|
7 |
-
Word Crack Professional Crack is an amazing software. This software helps us to manage documents. It can support hundreds of programs and enable to generate documents. Furthermore, we can edit the articles and sentences of the document in this software. We can generate the documents with this software. It is a powerful tool. This software also has some advantages like we can manage our files as well as easily edit the...
|
8 |
-
|
9 |
-
Evernote 5 Crack
|
10 |
-
|
11 |
-
Evernote 5 Crack is a very good and powerful software that helps us to manage our files easily. Furthermore, it can store and manage our files and notes. We can also export our notes as well as save them into some formats. We can easily manage our files and notes with this software. We can get lots of information about our files and...
|
12 |
-
|
13 |
-
CM Punk 1 Crack + Product Key Full Version Free Download
|
14 |
-
|
15 |
-
CM Punk Crack is a very good software. This software helps us to manage our files easily. Furthermore, it can store and manage our files and notes. We can also export our notes as well as save them into some formats. We can easily manage our files and notes with this software. We can get lots of information about our files and...
|
16 |
-
|
17 |
-
Mac Office Product Keys
|
18 |
-
|
19 |
-
Mac Office Product Keys is a wonderful software that helps us to manage our files easily. Furthermore, it can store and manage our files and notes. We can also export our notes as well as save them into some formats. We can easily manage our files and notes with this software. We can get lots of information about our files and...
|
20 |
-
|
21 |
-
Alfresco 4 Crack
|
22 |
-
|
23 |
-
Alfresco 4 Crack is an excellent software. This software helps us to manage our files and notes. Furthermore, it can store and manage our files and notes. We can also export our notes as well as save them into some formats. We can easily manage our files and notes with this software. We can get lots of information about our files and...
|
24 |
-
|
25 |
-
Spotify 6 Crack
|
26 |
-
|
27 |
-
Spotify 6 Crack is an excellent software. This software helps us to manage our files and notes. Furthermore, it can store and manage our files and notes. We can also export our notes as well as save them into some formats. We 4fefd39f24<br />
|
28 |
-
<br />
|
29 |
-
<br />
|
30 |
-
<p></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/ARK Survival Evolved APK - Explore Craft and Survive in a Massive Game World.md
DELETED
@@ -1,181 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>ARK: Survival Evolved Indir APK - How to Download and Play This Amazing Dino-Adventure Game on Your Android Device</h1>
|
3 |
-
<p>Have you ever dreamed of living in a world where dinosaurs roam free? Have you ever wanted to tame, ride, and breed these majestic creatures? Have you ever wondered how it would feel to survive in a harsh and dangerous environment with other players?</p>
|
4 |
-
<p>If you answered yes to any of these questions, then you should definitely check out <strong>ARK: Survival Evolved</strong>, one of the most popular and immersive games ever created. ARK: Survival Evolved is a game that combines action, adventure, survival, crafting, building, and multiplayer elements in a stunning open-world setting. You can explore, hunt, gather, fight, and interact with over 80 different dinosaurs and primal creatures that you can capture and tame. You can also create your own base, weapons, armor, and tools using the resources you find or harvest. You can also join or create a tribe with other players and cooperate or compete with them in various ways.</p>
|
5 |
-
<h2>ark survival evolved indir apk</h2><br /><p><b><b>Download Zip</b> ->>> <a href="https://urlin.us/2uSVM0">https://urlin.us/2uSVM0</a></b></p><br /><br />
|
6 |
-
<p>ARK: Survival Evolved is available for various platforms, including PC, Xbox One, PlayStation 4, Nintendo Switch, iOS, and Android. However, if you want to play this game on your Android device, you will need to download an APK file first. An APK file is a package file that contains all the data and files needed to run an app on your device. In this article, we will show Continuing the article: <h2>How to Download ARK: Survival Evolved Indir APK</h2>
|
7 |
-
<p>If you want to play ARK: Survival Evolved on your Android device, you will need to download an APK file first. An APK file is a package file that contains all the data and files needed to run an app on your device. You can't find ARK: Survival Evolved Indir APK on the Google Play Store, so you will need to find a reliable and safe source for downloading it.</p>
|
8 |
-
<p>There are many websites that offer APK files for various apps and games, but not all of them are trustworthy. Some of them may contain malware, viruses, or outdated versions that can harm your device or compromise your security. Therefore, you should always do some research before downloading any APK file from an unknown source. A quick Google search can often let you know if an app or a website has a questionable reputation.</p>
|
9 |
-
<p>One of the websites that we recommend for downloading ARK: Survival Evolved Indir APK is [APKCombo](^1^). This website provides verified and safe APK files for many popular apps and games, including ARK: Survival Evolved. You can also choose from different versions and variants of the APK file, depending on your device type, architecture, and Android version.</p>
|
10 |
-
<p>To download ARK: Survival Evolved Indir APK from APKCombo, follow these steps:</p>
|
11 |
-
<ol>
|
12 |
-
<li>Go to [apkcombo.com/downloader/](^1^) in your web browser.</li>
|
13 |
-
<li>Paste the URL of the app or game from the Google Play Store in the top text box. For example, for ARK: Survival Evolved, you can paste this URL: [play.google.com/store/apps/details?id=com.studiowildcard.wardrumstudios.ark](^2^).</li>
|
14 |
-
<li>Select your device type from the "Device" drop-down menu. You can also choose your architecture and Android version, but it's usually not necessary.</li>
|
15 |
-
<li>Click the "Generate Download Link" button. The download link will be generated underneath the button.</li>
|
16 |
-
<li>Click the down arrow icon to download the APK file. The file will be saved in your Downloads folder or wherever you choose to save it.</li>
|
17 |
-
</ol>
|
18 |
-
<h2>How to Install ARK: Survival Evolved Indir APK on Your Android Device</h2>
|
19 |
-
<p>Once you have downloaded the APK file, you will need to install it on your Android device. However, before you can do that, you will need to allow unknown apps on your device. Unknown apps are apps that are not from the Google Play Store or other official sources. By default, Android devices block unknown apps for security reasons, but you can change this setting if you trust the source of the app.</p>
|
20 |
-
<p>ark survival evolved mobile apk download<br />
|
21 |
-
ark survival evolved android apk free<br />
|
22 |
-
ark survival evolved apk mod unlimited money<br />
|
23 |
-
ark survival evolved apk obb offline<br />
|
24 |
-
ark survival evolved apk latest version<br />
|
25 |
-
ark survival evolved apk data highly compressed<br />
|
26 |
-
ark survival evolved apk rexdl<br />
|
27 |
-
ark survival evolved apk revdl<br />
|
28 |
-
ark survival evolved apk pure<br />
|
29 |
-
ark survival evolved apk uptodown<br />
|
30 |
-
ark survival evolved apk andropalace<br />
|
31 |
-
ark survival evolved apk android 1<br />
|
32 |
-
ark survival evolved apk android oyun club<br />
|
33 |
-
ark survival evolved apk apkpure<br />
|
34 |
-
ark survival evolved apk appmirror<br />
|
35 |
-
ark survival evolved apk cracked<br />
|
36 |
-
ark survival evolved apk full version<br />
|
37 |
-
ark survival evolved apk hack<br />
|
38 |
-
ark survival evolved apk indir cepde<br />
|
39 |
-
ark survival evolved apk indir tamindir<br />
|
40 |
-
ark survival evolved apk indir android oyun club<br />
|
41 |
-
ark survival evolved apk indir apkpure<br />
|
42 |
-
ark survival evolved apk indir gezginler<br />
|
43 |
-
ark survival evolved apk indir hileli<br />
|
44 |
-
ark survival evolved apk indir mobiroller<br />
|
45 |
-
ark survival evolved apk indir oyun59<br />
|
46 |
-
ark survival evolved apk indir son sürüm<br />
|
47 |
-
ark survival evolved apk indir ücretsiz<br />
|
48 |
-
ark survival evolved apk indir vip club<br />
|
49 |
-
ark survival evolved apk indir yandex disk<br />
|
50 |
-
ark survival evolved apk mega download<br />
|
51 |
-
ark survival evolved apk mirror download<br />
|
52 |
-
ark survival evolved apk no verification download<br />
|
53 |
-
ark survival evolved apk offline download<br />
|
54 |
-
ark survival evolved apk original download<br />
|
55 |
-
ark survival evolved apk play store download<br />
|
56 |
-
ark survival evolved apk unlimited amber download<br />
|
57 |
-
ark survival evolved mod menu apk download<br />
|
58 |
-
ark survival evolved modded servers apk download<br />
|
59 |
-
ark survival evolved online multiplayer mod apk download<br />
|
60 |
-
how to download and install ark survival evolved mod apk on android device <br />
|
61 |
-
how to download and play ark survival evolved offline mode on android device <br />
|
62 |
-
how to download and update ark survival evolved latest version on android device <br />
|
63 |
-
how to download and use cheats in ark survival evolved on android device <br />
|
64 |
-
how to download and run ark survival evolved smoothly on low end android device <br />
|
65 |
-
how to download and transfer save data of ark survival evolved on android device <br />
|
66 |
-
how to fix lag in ark survival evolved on android device <br />
|
67 |
-
how to get free amber in ark survival evolved on android device <br />
|
68 |
-
how to join a server in ark survival evolved on android device <br />
|
69 |
-
how to tame dinosaurs in ark survival evolved on android device </p>
|
70 |
-
<p>To allow unknown apps on your Android device, follow these steps:</p>
|
71 |
-
<ol>
|
72 |
-
<li>Go to your device settings and tap Apps & Notifications (or Apps in older versions of Android).</li>
|
73 |
-
<li>Tap the three dots in the upper-right corner.</li>
|
74 |
-
<li>Tap Special access.</li>
|
75 |
-
<li>Tap Install unknown apps.</li>
|
76 |
-
<li>Tap Chrome (or whichever web browser you use).</li>
|
77 |
-
<li>Move Allow from this source to the On position.</li>
|
78 |
-
</ol>
|
79 |
-
<p>Now that you have allowed unknown apps, you can install ARK: Survival Evolved Indir APK on your device. To do that, follow these steps:</p>
|
80 |
-
<ol>
|
81 |
-
<li>Open your file manager app and go to the Downloads folder or wherever you saved the APK file.</li>
|
82 |
-
<li>Tap on the APK file.</li>
|
83 |
-
<li>If prompted, tap Settings and enable Allow from this source for Chrome (or whichever web browser you used to download the file).</li>
|
84 |
-
<li>Tap Install and wait for the installation process to finish.</li>
|
85 |
-
<li>Tap Open to launch the game or Done to close the installer.</li>
|
86 |
-
</ol>
|
87 |
-
<p>Congratulations! You have successfully installed ARK: Survival Evolved Indir APK on your Android device. You can now enjoy this amazing dino-adventure game on your phone or tablet.</p>
|
88 |
-
<h2>How to Play ARK: Survival Evolved on Your Android Device</h2>
|
89 |
-
<p>Now that you have installed ARK: Survival Evolved Indir APK on your device, you are ready to play this game. However, if you are new to this game or need some guidance, here are some tips on how to play ARK: Survival Evolved on your Android device.</p>
|
90 |
-
<h3>How to Create Your Character and Choose Your Server</h3>
|
91 |
-
<p>The first thing you need to do when you launch ARK: Survival Evolved is to create your character and choose your server. You can customize your character's appearance, name, gender, hairstyle, skin color, eye color, and more. You can also Continuing the article: <p>You can also choose your server from the list of available servers. There are different types of servers, such as official, unofficial, dedicated, and single-player. Each server has its own settings, rules, and community. You can filter the servers by name, mode, map, ping, players, and more. You can also join a server by entering its IP address or invite code.</p>
|
92 |
-
<p>Once you have chosen your server, you will spawn in a random location on the map. You can also choose a specific spawn region if you prefer. You will start with nothing but your bare hands and a specimen implant in your arm. Your implant will show you your health, stamina, hunger, thirst, oxygen, weight, level, and engrams. Engrams are blueprints that allow you to craft items and structures.</p>
|
93 |
-
<h3>How to Survive in a Harsh and Dangerous World Full of Dinosaurs and Other Creatures</h3>
|
94 |
-
<p>One of the main challenges of ARK: Survival Evolved is to survive in a harsh and dangerous world full of dinosaurs and other creatures. You will need to manage your basic needs, such as food, water, temperature, and oxygen. You will also need to protect yourself from predators, diseases, environmental hazards, and other players.</p>
|
95 |
-
<p>Here are some tips on how to survive in ARK: Survival Evolved:</p>
|
96 |
-
<ul>
|
97 |
-
<li>Gather resources such as wood, stone, fiber, berries, meat, hide, and more. You can use these resources to craft items and structures that will help you survive.</li>
|
98 |
-
<li>Craft tools such as a pickaxe, an axe, a spear, a torch, and a bow. You can use these tools to gather more resources, hunt animals, fight enemies, and light your way.</li>
|
99 |
-
<li>Craft clothing and armor to protect yourself from the elements and attacks. You can craft simple clothing from fiber and hide or advanced armor from metal and other materials.</li>
|
100 |
-
<li>Craft a campfire to cook food, warm yourself up, and purify water. You can also craft a bed to sleep and respawn at your location.</li>
|
101 |
-
<li>Craft a storage box to store your items and a mortar and pestle to make narcotics and other consumables.</li>
|
102 |
-
<li>Level up your character by gaining experience from various activities. You can increase your stats such as health, stamina, weight, melee damage, movement speed, and more. You can also learn new engrams to craft more items and structures.</li>
|
103 |
-
<li>Explore the map and discover different biomes such as forests, jungles, deserts, snowfields, swamps, caves, oceans, and more. Each biome has its own unique features, resources, creatures, and dangers.</li>
|
104 |
-
<li>Be careful of the weather and the day-night cycle. The weather can change from sunny to rainy to stormy to foggy and affect your visibility and temperature. The day-night cycle can also affect your visibility and the behavior of some creatures.</li>
|
105 |
-
<li>Be aware of your surroundings and watch out for threats such as carnivorous dinosaurs, Continuing the article: <p>such as carnivorous dinosaurs, giant insects, poisonous snakes, aggressive mammals, and more. Some creatures can also inflict status effects such as bleeding, poisoning, stunning, or knocking you out.</p>
|
106 |
-
<p>Be prepared for the events and challenges that occur randomly or periodically in the game. These include supply drops, meteor showers, earthquakes, volcanic eruptions, boss fights, and more. Some of these events can reward you with valuable items or resources, while others can pose a serious threat to your survival.</p>
|
107 |
-
<h3>How to Tame, Breed, and Ride Dinosaurs</h3>
|
108 |
-
<p>One of the most fun and rewarding aspects of ARK: Survival Evolved is to tame, breed, and ride dinosaurs and other creatures. You can tame almost any creature in the game by either knocking it out and feeding it its preferred food or by passive taming it by offering it food without aggroing it. You can also use special items such as traps, bolas, tranquilizer arrows, or narcotics to make the taming process easier.</p>
|
109 |
-
<p>Once you have tamed a creature, you can name it, command it, level it up, and customize its appearance. You can also breed two creatures of the same species and get a baby that inherits the traits and stats of its parents. You can also ride some creatures by crafting a saddle for them. Riding a creature can give you many advantages such as faster movement, better combat, and access to new areas.</p>
|
110 |
-
<p>Here are some tips on how to tame, breed, and ride dinosaurs and other creatures:</p>
|
111 |
-
<ul>
|
112 |
-
<li>Research the creature you want to tame before attempting to do so. You can use the in-game dossier or online resources such as [Dododex] or [ARK Wiki] to find out the creature's behavior, location, food preference, taming method, saddle type, and more.</li>
|
113 |
-
<li>Prepare the necessary items and resources for taming the creature. You will need food, water, weapons, tools, traps, narcotics, and possibly a saddle. You may also need a taming pen or a raft to protect yourself and the creature from other threats.</li>
|
114 |
-
<li>Choose a suitable location and time for taming the creature. You should avoid areas that are too crowded, too dangerous, or too far from your base. You should also consider the weather and the day-night cycle that may affect your visibility and the creature's behavior.</li>
|
115 |
-
<li>Be patient and careful when taming the creature. Depending on the creature's level and type, the taming process can take from minutes to hours. You should monitor the creature's health, torpor (unconsciousness), hunger (taming effectiveness), and mood (aggression). You should also protect yourself and the creature from other predators or players that may interfere with your taming.</li>
|
116 |
-
<li>Enjoy your new companion and take good care of it. You should feed it regularly, Continuing the article: <p>feed it regularly, heal it when it's injured, and level it up when it gains experience. You should also bond with it by petting it, playing with it, and giving it treats. You can also breed it with another creature of the same species and get a baby that inherits the traits and stats of its parents. You can also ride some creatures by crafting a saddle for them. Riding a creature can give you many advantages such as faster movement, better combat, and access to new areas.</p>
|
117 |
-
<h2>How to Craft, Build, and Explore</h2>
|
118 |
-
<p>Another important aspect of ARK: Survival Evolved is to craft, build, and explore. You can craft various items and structures that will help you survive, defend, and thrive in the game. You can build your own base, fortify it with walls and turrets, and decorate it with furniture and trophies. You can also explore the map and discover different biomes, landmarks, caves, ruins, and secrets.</p>
|
119 |
-
<p>Here are some tips on how to craft, build, and explore:</p>
|
120 |
-
<ul>
|
121 |
-
<li>Learn new engrams as you level up your character. Engrams are blueprints that allow you to craft items and structures. You can also find engrams in supply drops, caves, or boss arenas.</li>
|
122 |
-
<li>Gather the required resources for crafting items and structures. You can use tools, weapons, or creatures to harvest resources such as wood, stone, metal, fiber, hide, oil, crystal, and more.</li>
|
123 |
-
<li>Craft items and structures using your inventory or a crafting station. You can craft simple items such as tools, weapons, clothing, and consumables using your inventory. You can craft more advanced items such as saddles, armor, electronics, and explosives using a crafting station such as a smithy or a fabricator.</li>
|
124 |
-
<li>Build your base using foundations, walls, ceilings, doors, windows, and other structures. You can snap them together to create different shapes and sizes. You can also place furniture, appliances, storage boxes, generators, lights, and other items inside your base.</li>
|
125 |
-
<li>Fortify your base using fences, Continuing the article: <li>Fortify your base using fences, gates, spikes, turrets, traps, and other defenses. You can also use creatures such as dilophosaurs, raptors, or rexes to guard your base.</li>
|
126 |
-
<li>Decorate your base using paintings, signs, flags, trophies, and other items. You can also use dye to color your items and structures.</li>
|
127 |
-
<li>Explore the map using your feet, a mount, a raft, or a flyer. You can also use a map or a GPS to navigate and mark your locations.</li>
|
128 |
-
<li>Discover different biomes such as forests, jungles, deserts, snowfields, swamps, caves, oceans, and more. Each biome has its own unique features, resources, creatures, and dangers.</li>
|
129 |
-
<li>Find landmarks such as mountains, volcanoes, rivers, lakes, waterfalls, islands, and more. Some landmarks have special significance or secrets that you can uncover.</li>
|
130 |
-
<li>Enter caves and ruins that contain valuable loot, rare resources, hidden secrets, and dangerous enemies. Some caves and ruins also have artifacts that you can collect and use to summon bosses.</li>
|
131 |
-
<li>Uncover the mysteries and secrets of ARK: Survival Evolved by finding notes, journals, and recordings left by previous survivors. You can also learn more about the history and lore of the game by completing missions and defeating bosses.</li>
|
132 |
-
</ul>
|
133 |
-
<h2>Tips and Tricks for Playing ARK: Survival Evolved on Your Android Device</h2>
|
134 |
-
<p>Playing ARK: Survival Evolved on your Android device can be a lot of fun, but it can also be challenging and frustrating at times. To make your gaming experience more enjoyable and smooth, here are some tips and tricks for playing ARK: Survival Evolved on your Android device:</p>
|
135 |
-
<h3>How to Optimize Your Game Settings for Better Performance and Battery Life</h3>
|
136 |
-
<p>ARK: Survival Evolved is a graphically intensive game that can drain your battery and slow down your device if you don't optimize your game settings. To optimize your game settings for better performance and battery life, follow these steps:</p>
|
137 |
-
<ol>
|
138 |
-
<li>Go to the main menu and tap Settings.</li>
|
139 |
-
<li>Tap Graphics and adjust the sliders according to your preference. You can lower the resolution, quality, shadows, textures, anti-aliasing, post-processing, Continuing the article: <p>post-processing, and view distance to improve your frame rate and reduce lag. You can also enable low power mode to save battery.</li>
|
140 |
-
<li>Tap Audio and adjust the sliders according to your preference. You can lower the master volume, music volume, sound effects volume, and voice chat volume to save battery and reduce noise.</li>
|
141 |
-
<li>Tap Controls and adjust the sliders and buttons according to your preference. You can change the sensitivity, invert look, auto sprint, auto jump, auto fire, and other options to improve your control and comfort.</li>
|
142 |
-
<li>Tap HUD and adjust the sliders and buttons according to your preference. You can change the size, opacity, position, and visibility of various elements on your screen such as health bar, stamina bar, chat box, compass, and more.</li>
|
143 |
-
</ol>
|
144 |
-
<h3>How to Use Cheats and Hacks to Enhance Your Gaming Experience</h3>
|
145 |
-
<p>If you want to have some fun or make your life easier in ARK: Survival Evolved, you can use cheats and hacks to modify the game in various ways. Cheats and hacks are commands or codes that you can enter in the game console or chat box to activate certain effects or functions. You can use cheats and hacks to spawn items, creatures, resources, structures, and more. You can also use cheats and hacks to fly, teleport, become invisible, invincible, or godlike.</p>
|
146 |
-
<p>However, before you use cheats and hacks, you should be aware of some risks and limitations. First of all, cheats and hacks are only available in single-player mode or in servers that allow them. If you try to use cheats and hacks in servers that don't allow them, you may get banned or kicked out. Second of all, cheats and hacks may cause glitches, bugs, crashes, or corruption in your game. If you use cheats and hacks excessively or improperly, you may damage your game files or lose your progress. Third of all, cheats and hacks may ruin the fun and challenge of the game. If you use cheats and hacks too often or too easily, you may lose interest or satisfaction in the game.</p>
|
147 |
-
<p>Therefore, you should use cheats and hacks responsibly and sparingly. To use cheats and hacks in ARK: Survival Evolved on your Android device, follow these steps:</p>
|
148 |
-
<ol>
|
149 |
-
<li>Go to the pause menu and tap Settings.</li>
|
150 |
-
<li>Tap Admin Commands.</li>
|
151 |
-
<li>Enter the cheat or hack code in the text box. You can find a list of cheat or hack codes online such as [ARK Commands] or [ARK Cheats].</li>
|
152 |
-
<li>Tap Request Admin.</li>
|
153 |
-
<li>Tap Execute.</li>
|
154 |
-
</ol>
|
155 |
-
<p>The cheat or hack effect will be activated immediately. To deactivate a cheat or hack effect, Continuing the article: <p>The cheat or hack effect will be activated immediately. To deactivate a cheat or hack effect, you can either enter the same code again or enter the command "cheat disablecheats".</p>
|
156 |
-
<h3>How to Avoid Common Pitfalls and Mistakes that Can Ruin Your Progress</h3>
|
157 |
-
<p>ARK: Survival Evolved is a game that can be very rewarding, but also very unforgiving. There are many pitfalls and mistakes that can ruin your progress and make you lose your items, creatures, base, or even your life. To avoid these pitfalls and mistakes, here are some tips:</p>
|
158 |
-
<ul>
|
159 |
-
<li>Always backup your game data. You can do this by using the cloud save feature in the game settings or by copying your game files to another device or storage. This way, you can restore your game data in case of corruption, deletion, or loss.</li>
|
160 |
-
<li>Always have a backup plan. You should always have a spare set of items, weapons, armor, and resources in case you lose your main ones. You should also have a secondary base or a hidden stash in case your primary base is destroyed or raided.</li>
|
161 |
-
<li>Always be prepared. You should always have enough food, water, medicine, and ammo before you go on an adventure or a mission. You should also have the appropriate gear and tools for the environment and the situation you are facing.</li>
|
162 |
-
<li>Always be cautious. You should always scout the area before you enter it and check for any signs of danger or hostility. You should also avoid engaging in fights or activities that are beyond your level or capability.</li>
|
163 |
-
<li>Always be respectful. You should always follow the rules and etiquette of the server and the community you are playing with. You should also avoid griefing, trolling, cheating, or stealing from other players unless you are playing on a PvP server.</li>
|
164 |
-
</ul>
|
165 |
-
<h2>Conclusion</h2>
|
166 |
-
<p>ARK: Survival Evolved is a game that offers endless possibilities and adventures for anyone who loves dinosaurs, survival, crafting, building, and multiplayer. You can download and play this game on your Android device by using an APK file from a reliable source such as APKCombo. You can also use our tips and tricks to optimize your game settings, use cheats and hacks, and avoid common pitfalls and mistakes.</p>
|
167 |
-
<p>If you are ready to embark on an epic dino-adventure on your Android device, download ARK: Survival Evolved Indir APK today and join millions of other players in this amazing game.</p>
|
168 |
-
<h2>FAQs</h2>
|
169 |
-
<p>Here are some frequently asked questions about ARK: Survival Evolved Indir APK:</p>
|
170 |
-
<h3>Q: Is ARK: Survival Evolved Indir APK free?</h3>
|
171 |
-
<p>A: Yes, ARK: Survival Evolved Indir APK is free to download and play. However, you may need to pay for some in-game items or features such as skins, expansions, or premium servers.</p>
|
172 |
-
<h3>Q: Is ARK: Survival Evolved Indir APK safe?</h3>
|
173 |
-
<p>A: Yes, ARK: Survival Evolved Indir APK is safe to download and install if you get it from a verified and trusted source such as APKCombo. However, you should always scan any APK file with an antivirus software before installing it on your device.</p>
|
174 |
-
<h3>Q: Is ARK: Survival Evolved Indir APK compatible with my device?</h3>
|
175 |
-
<p>A: ARK: Survival Evolved Indir APK is compatible with most Android devices that have at least 3 GB of RAM and Android 7.0 or higher. However, some devices may experience performance issues or crashes due to the high graphics and resource demands of the game.</p>
|
176 |
-
<h3>Q: How can I update ARK: Survival Evolved Indir APK?</h3>
|
177 |
-
<p>A: You can update ARK: Survival Evolved Indir APK by downloading the latest version of the APK file from APKCombo or another source and installing it over the existing one. You can also check for updates in the game settings or the Google Play Store.</p>
|
178 |
-
<h3>Q: How can I contact the developers of ARK: Survival Evolved?</h3>
|
179 |
-
<p>A: You can contact the developers of ARK: Survival Evolved by visiting their official website [ark.gamepedia.com] or their social media pages such as [Facebook], [Twitter], [Instagram], [YouTube], [Discord], or [Reddit]. You can also send them an email at [email protected].</p> 197e85843d<br />
|
180 |
-
<br />
|
181 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Chessmen APK Enjoy the Classic Board Game with Stunning Graphics and Sound Effects.md
DELETED
@@ -1,144 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Chessmen APK: A Fun and Challenging Puzzle Game for Android</h1>
|
3 |
-
<p>If you are looking for a new and exciting puzzle game to play on your Android device, you might want to check out Chessmen APK. This game is based on the classic board game of chess, but with a twist. Instead of playing against another player, you have to swap the positions of the white and black pieces on the board. Sounds easy, right? Well, not quite. You have to do it in as few moves as possible, while following the rules of chess. Are you up for the challenge?</p>
|
4 |
-
<h2>What is Chessmen APK?</h2>
|
5 |
-
<p>Chessmen APK is a puzzle game developed by Brodski Software, a company that specializes in creating games and apps for Android devices. The game was released in 2014 and has received positive reviews from users and critics alike. It has been downloaded over 100,000 times from the Google Play Store, where it has a rating of 4.4 out of 5 stars.</p>
|
6 |
-
<h2>chessmen apk</h2><br /><p><b><b>Download File</b> ⚙⚙⚙ <a href="https://urlin.us/2uSSZb">https://urlin.us/2uSSZb</a></b></p><br /><br />
|
7 |
-
<h3>The concept and gameplay of Chessmen APK</h3>
|
8 |
-
<p>The concept of Chessmen APK is simple but ingenious. You are presented with a chessboard with white and black pieces on it. Your goal is to swap the positions of the white and black pieces, so that the white pieces are where the black pieces were, and vice versa. You can only move one piece at a time, following the rules of chess. For example, you can only move a rook horizontally or vertically, a bishop diagonally, a knight in an L-shape, etc. You can also capture an enemy piece by moving your piece to its square, but you cannot capture your own piece. You have to complete each level in as few moves as possible, which is shown by a counter at the top of the screen. The game has 60 levels of increasing difficulty, ranging from easy to expert.</p>
|
9 |
-
<h3>The features and benefits of Chessmen APK</h3>
|
10 |
-
<p>Chessmen APK is not just a fun and challenging puzzle game, but also a great way to improve your chess skills and knowledge. Here are some of the features and benefits of playing Chessmen APK:</p>
|
11 |
-
<ul>
|
12 |
-
<li>It helps you practice your chess moves and learn how each piece moves.</li>
|
13 |
-
<li>It tests your logic, strategy, planning, and problem-solving skills.</li>
|
14 |
-
<li>It stimulates your brain and enhances your memory and concentration.</li>
|
15 |
-
<li>It offers a variety of levels and puzzles to suit different skill levels and preferences.</li>
|
16 |
-
<li>It has simple and intuitive controls and graphics.</li>
|
17 |
-
<li>It is free to download and play, with no ads or in-app purchases.</li>
|
18 |
-
</ul>
|
19 |
-
<h2>How to download and install Chessmen APK on your device?</h2>
|
20 |
-
<p>If you are interested in playing Chessmen APK, you can easily download and install it on your Android device. Here are the steps to do so:</p>
|
21 |
-
<h3>The steps to download and install Chessmen APK</h3>
|
22 |
-
<ol>
|
23 |
-
<li>Go to <a href="(^1^)">https://apkpure.com/chessmen-club/com.brodski.android.chessmen/download/12-APK</a>, which is a trusted source for downloading Android apps.</li>
|
24 |
-
<li>Click on the green "Download APK" button to start downloading the file.</li>
|
25 |
-
<li>Once the download is complete, open the file manager app on your device and locate the downloaded file.</li>
|
26 |
-
<li>Tap on the file to install it. You may need to enable "Unknown Sources" in your device settings to allow the installation of apps from unknown sources.</li>
|
27 |
-
<li>Follow the on-screen instructions to complete the installation.</li>
|
28 |
-
<li>Launch the app and enjoy playing Chessmen APK!</li>
|
29 |
-
</ol>
|
30 |
-
<h3>The requirements and compatibility of Chessmen APK</h3>
|
31 |
-
<p>Before you download and install Chessmen APK, you should make sure that your device meets the following requirements and compatibility:</p>
|
32 |
-
<ul>
|
33 |
-
<li>Your device should have Android 2.3 or higher.</li>
|
34 |
-
<li>Your device should have at least 10 MB of free storage space.</li>
|
35 |
-
<li>Your device should have a stable internet connection to download the app.</li>
|
36 |
-
<li>Your device should support touch screen and sound features.</li>
|
37 |
-
</ul>
|
38 |
-
<h2>How to play and improve your skills in Chessmen APK?</h2>
|
39 |
-
<p>Now that you have downloaded and installed Chessmen APK, you are ready to play and improve your skills in this game. Here are some tips and tricks to help you out:</p>
|
40 |
-
<p>chessmen club apk download<br />
|
41 |
-
chessmen club android game<br />
|
42 |
-
chessmen club latest version apk<br />
|
43 |
-
chessmen club 1.0.9 apk<br />
|
44 |
-
chessmen club puzzle game apk<br />
|
45 |
-
chessmen apk free download<br />
|
46 |
-
chessmen apk for android<br />
|
47 |
-
chessmen apk mod<br />
|
48 |
-
chessmen apk offline<br />
|
49 |
-
chessmen apk full version<br />
|
50 |
-
chessmen game apk<br />
|
51 |
-
chessmen game android<br />
|
52 |
-
chessmen game download apk<br />
|
53 |
-
chessmen game mod apk<br />
|
54 |
-
chessmen game offline apk<br />
|
55 |
-
chessmen app apk<br />
|
56 |
-
chessmen app download<br />
|
57 |
-
chessmen app android<br />
|
58 |
-
chessmen app mod apk<br />
|
59 |
-
chessmen app offline<br />
|
60 |
-
chessmen club app apk<br />
|
61 |
-
chessmen club app download<br />
|
62 |
-
chessmen club app android<br />
|
63 |
-
chessmen club app mod apk<br />
|
64 |
-
chessmen club app offline<br />
|
65 |
-
download chessmen apk<br />
|
66 |
-
download chessmen club apk<br />
|
67 |
-
download chessmen game apk<br />
|
68 |
-
download chessmen app apk<br />
|
69 |
-
download chessmen mod apk<br />
|
70 |
-
download chessmen offline apk<br />
|
71 |
-
download chessmen full version apk<br />
|
72 |
-
download chessmen latest version apk<br />
|
73 |
-
download chessmen club latest version apk<br />
|
74 |
-
download chessmen club mod apk<br />
|
75 |
-
download chessmen club offline apk<br />
|
76 |
-
download chessmen club full version apk<br />
|
77 |
-
download chessmen club android game<br />
|
78 |
-
download chessmen club puzzle game apk<br />
|
79 |
-
install chessmen apk<br />
|
80 |
-
install chessmen club apk<br />
|
81 |
-
install chessmen game apk<br />
|
82 |
-
install chessmen app apk<br />
|
83 |
-
install chessmen mod apk<br />
|
84 |
-
install chessmen offline apk<br />
|
85 |
-
install chessmen full version apk<br />
|
86 |
-
install chessmen latest version apk<br />
|
87 |
-
install chessmen club latest version apk<br />
|
88 |
-
install chessmen club mod apk<br />
|
89 |
-
install chessmen club offline apk</p>
|
90 |
-
<h3>The rules and objectives of Chessmen APK</h3>
|
91 |
-
<p>The rules and objectives of Chessmen APK are simple but challenging. Here are the main points to remember:</p>
|
92 |
-
<ul>
|
93 |
-
<li>You have to swap the positions of the white and black pieces on the board, so that the white pieces are where the black pieces were, and vice versa.</li>
|
94 |
-
<li>You can only move one piece at a time, following the rules of chess.</li>
|
95 |
-
<li>You can capture an enemy piece by moving your piece to its square, but you cannot capture your own piece.</li>
|
96 |
-
<li>You have to complete each level in as few moves as possible, which is shown by a counter at the top of the screen.</li>
|
97 |
-
<li>You can undo your last move by tapping on the undo button at the bottom of the screen.</li>
|
98 |
-
<li>You can restart the level by tapping on the restart button at the bottom of the screen.</li>
|
99 |
-
<li>You can skip a level by tapping on the skip button at the bottom of the screen, but you will lose one star for doing so.</li>
|
100 |
-
<li>You can earn up to three stars for each level, depending on how many moves you used to complete it.</li>
|
101 |
-
<li>You can view your progress and achievements by tapping on the menu button at the top left corner of the screen.</li>
|
102 |
-
</ul>
|
103 |
-
<h3>The tips and strategies for Chessmen APK</h3>
|
104 |
-
<p>Chessmen APK is a game that requires logic, strategy, planning, and problem-solving skills. Here are some tips and strategies to help you master this game:</p>
|
105 |
-
<ul>
|
106 |
-
<li>Plan your moves ahead. Before you make a move, think about how it will affect the board and what moves you will need to make afterwards. Try to visualize the final position of the pieces and work backwards from there.</li>
|
107 |
-
<li>Use your pieces wisely. Each piece has its own advantages and disadvantages. For example, a rook can move far and fast, but it can only move horizontally or vertically. A bishop can move diagonally, but it can only stay on one color of squares. A knight can jump over other pieces, but it has a limited range. A pawn can only move forward, but it can promote to a more powerful piece if it reaches the end of the board. A king can move in any direction, but it is vulnerable to checkmate. A queen can move in any direction, but it is valuable and should be protected. Try to use your pieces according to their strengths and weaknesses.</li>
|
108 |
-
<li>Look for patterns and shortcuts. Some levels have symmetrical or repetitive patterns that can help you solve them faster. For example, if you see two identical groups of pieces on opposite sides of the board, you can swap them with each other in one move. Or if you see a row or column of pieces that are all of one color, you can move them all together in one move. Look for these patterns and shortcuts and use them to your advantage.</li>
|
109 |
-
<li>Learn from your mistakes. If you get stuck or make a wrong move, don't give up or get frustrated. Instead, try to analyze what went wrong and how you can avoid it in the future. You can also use the undo button to correct your mistake or the restart button to try again from scratch. You can also skip a level if you find it too hard, but remember that you will lose one star for doing so.</li>
|
110 |
-
</ul>
|
111 |
-
<h2>Why should you play Chessmen APK?</h2>
|
112 |
-
<p>Chessmen APK is not only a fun and challenging puzzle game, but also a great way to learn more about chess and its benefits for your brain. Here are some reasons why you should play Chessmen APK:</p>
|
113 |
-
<h3>The brain benefits of playing chess</h3>
|
114 |
-
<p>Playing chess has been proven to have many positive effects on your brain and mental health. Here are some of them:</p>
|
115 |
-
<ul>
|
116 |
-
<li>It improves your memory, concentration, and attention span. Chess requires you to remember the positions and movements of the pieces, as well as the rules and strategies of the game. This helps you to enhance your short-term and long-term memory, as well as your focus and alertness.</li>
|
117 |
-
<li>It develops your logic, reasoning, and problem-solving skills. Chess involves making logical and rational decisions based on the analysis of the board and the possible outcomes of each move. This helps you to improve your critical thinking, deductive reasoning, and problem-solving skills.</li>
|
118 |
-
<li>It boosts your creativity and imagination. Chess encourages you to explore different possibilities and scenarios, as well as to come up with original and innovative solutions. This helps you to stimulate your creativity and imagination, as well as your lateral thinking and divergent thinking skills.</li>
|
119 |
-
<li>It enhances your emotional intelligence and social skills. Chess teaches you to be patient, disciplined, respectful, and humble. It also helps you to cope with stress, frustration, failure, and success. It also helps you to interact with other players, communicate effectively, and cooperate with others.</li>
|
120 |
-
</ul>
|
121 |
-
<h3>The history and trivia of chess</h3>
|
122 |
-
<p>Playing chess also helps you to learn more about the history and trivia of this fascinating game. Here are some interesting facts about chess:</p>
|
123 |
-
<ul>
|
124 |
-
<li>Chess is one of the oldest and most popular games in the world. It is believed to have originated in India in the 6th century AD, and then spread to Persia, Arabia, Europe, and Asia. It has been played by kings, queens, nobles, scholars, artists, and many other famous people throughout history.</li>
|
125 |
-
<li>Chess is also known as the "game of kings" or the "royal game". This is because it was often used as a way of teaching warfare, strategy, and diplomacy to royalty and nobility. It was also considered a symbol of status, intelligence, and culture.</li>
|
126 |
-
<li>Chess has many variations and adaptations. There are different types of chess pieces, boards, rules, and formats. For example, there are chess variants that use three-dimensional boards, multiple players, random setups, fairy pieces, etc. There are also chess puzzles, chess problems, chess compositions, chess tournaments, chess ratings, chess engines, etc.</li>
|
127 |
-
<li>Chess has inspired many other games and fields of study. For example, there are games that are based on or influenced by chess, such as checkers, draughts, shogi, xiangqi, etc. There are also fields of study that use chess as a model or a tool, such as mathematics, computer science, artificial intelligence, psychology, etc.</li>
|
128 |
-
</ul>
|
129 |
-
<h2>Conclusion</h2>
|
130 |
-
<p>Chessmen APK is a fun and challenging puzzle game for Android devices that is based on the classic board game of chess. It is a great way to practice your chess skills and knowledge, as well as to improve your brain functions and mental health. It is also a great way to learn more about the history and trivia of chess. Chessmen APK is free to download and play from the Google Play Store or from <a href="">https://apkpure.com/chessmen-club/com.brodski.android.chessmen/download/12-APK</a>. If you are looking for a new and exciting puzzle game to play on your Android device,<strong> download Chessmen APK today</strong> and see if you can swap the positions of the white and black pieces on the board in as few moves as possible!</p>
|
131 |
-
<h2>Frequently Asked Questions</h2>
|
132 |
-
<p>Here are some frequently asked questions about Chessmen APK:</p>
|
133 |
-
<h3>Q: How many levels are there in Chessmen APK?</h3>
|
134 |
-
<p>A: There are 60 levels in Chessmen APK, ranging from easy to expert. You can view your progress and achievements by tapping on the menu button at the top left corner of the screen.</p>
|
135 |
-
<h3>Q: How can I earn more stars in Chessmen APK?</h3>
|
136 |
-
<p>A: You can earn up to three stars for each level, depending on how many moves you used to complete it. The fewer moves you use, the more stars you earn. You can also earn bonus stars by completing certain achievements, such as finishing a level without capturing any piece, finishing a level with only one piece left, etc.</p>
|
137 |
-
<h3>Q: What are the benefits of playing Chessmen APK?</h3>
|
138 |
-
<p>A: Playing Chessmen APK is not only a fun and challenging puzzle game, but also a great way to improve your chess skills and knowledge, as well as your brain functions and mental health. It helps you practice your chess moves and learn how each piece moves. It tests your logic, strategy, planning, and problem-solving skills. It stimulates your brain and enhances your memory and concentration. It boosts your creativity and imagination. It enhances your emotional intelligence and social skills. It also helps you learn more about the history and trivia of chess.</p>
|
139 |
-
<h3>Q: Is Chessmen APK safe to download and play?</h3>
|
140 |
-
<p>A: Yes, Chessmen APK is safe to download and play. It does not contain any viruses, malware, spyware, or other harmful elements. It also does not require any special permissions or access to your device. It does not collect or share any personal or sensitive information from you or your device. It does not have any ads or in-app purchases that may interfere with your gameplay or privacy.</p>
|
141 |
-
<h3>Q: Where can I get more information or support for Chessmen APK?</h3>
|
142 |
-
<p>A: If you have any questions, feedback, suggestions, or issues regarding Chessmen APK, you can contact the developer by email at <a href="mailto:[email protected]">[email protected]</a>. You can also visit their website at <a href="">https://brodski-software.de/</a> or their Facebook page at <a href="">https://www.facebook.com/BrodskiSoftware/</a> for more information or support.</p> 197e85843d<br />
|
143 |
-
<br />
|
144 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/APKMirror Gacha Life 1.0.9 - The Ultimate Dress-Up Game for Android.md
DELETED
@@ -1,149 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>What is APKMirror Gacha Life 1.0.9 and How to Download and Install It?</h1>
|
3 |
-
<p>Gacha Life is a popular anime game that lets you create your own anime styled characters and dress them up in your favorite fashion outfits. You can also enter the studio mode and create any scene you can imagine with custom text, poses, backgrounds, and music. You can also explore different areas in life mode and meet new NPCs who might give you a surprise. You can also play mini-games and collect gems to gacha for rare gifts for your collection.</p>
|
4 |
-
<h2>apkmirror gacha life 1.0.9</h2><br /><p><b><b>Download File</b> ✸ <a href="https://jinyurl.com/2uNUxh">https://jinyurl.com/2uNUxh</a></b></p><br /><br />
|
5 |
-
<p>APKMirror is a website that provides free APK files for Android apps and games. APK files are the installation files for Android applications that can be downloaded from other sources than the official Google Play Store. APKMirror is useful because it allows you to access older versions of apps that may not be available on the Play Store anymore, or apps that are not compatible with your device or region.</p>
|
6 |
-
<h2>Features of Gacha Life 1.0.9</h2>
|
7 |
-
<p>Gacha Life 1.0.9 has four main features that you can enjoy: character customization, studio mode, life mode, and gacha games. Here is a brief overview of each feature and how to use it.</p>
|
8 |
-
<h3>Character customization</h3>
|
9 |
-
<p>Character customization is the feature that lets you create and dress up your own anime characters. You can access it by tapping on the dress up button on the main menu. You can create up to 20 characters and save them in your slots. You can also load and edit the preset characters that are already available.</p>
|
10 |
-
<p>To customize your character, you can use the following options:</p>
|
11 |
-
<ul>
|
12 |
-
<li><b>Body:</b> You can change the skin color, eye shape, eye color, mouth, nose, blush, and face paint of your character.</li>
|
13 |
-
<li><b>Hair:</b> You can change the hairstyle, hair color, front hair, back hair, ponytail, and ahoge (hair antenna) of your character.</li>
|
14 |
-
<li><b>Face:</b> You can change the glasses, eye patch, mask, bandage, mole, scar, and accessory of your character.</li>
|
15 |
-
<li><b>Clothes:</b> You can change the top, bottom, sleeves, socks, shoes, gloves, cape, hat, and belt of your character.</li>
|
16 |
-
<li><b>Other:</b> You can change the weapon, shield, wing, tail, ear, and horn of your character.</li>
|
17 |
-
<li><b>Props:</b> You can add a prop to your character's hand or head.</li>
|
18 |
-
<li><b>Profile:</b> You can change the name, age, gender, birthday, occupation, location, personality, likes, dislikes, and favorite food of your character.</li>
|
19 |
-
</ul>
|
20 |
-
<p>You can also use the advanced color wheel to customize the colors of each item. You can also use the random button to generate a random character or outfit. You can also use the reset button to reset your character to the default settings.</p>
|
21 |
-
<h3>Studio mode</h3>
|
22 |
-
<p>Studio mode is the feature that lets you create your own scenes and skits with custom text, poses, backgrounds, and music. You can access it by tapping on the studio button on the main menu. You can create up to 100 scenes and save them in your slots. You can also load and edit the preset scenes that are already available.</p>
|
23 |
-
<p>apkmirror gacha life 1.0.9 download<br />
|
24 |
-
apkmirror gacha life 1.0.9 mod apk<br />
|
25 |
-
apkmirror gacha life 1.0.9 update<br />
|
26 |
-
apkmirror gacha life 1.0.9 old version<br />
|
27 |
-
apkmirror gacha life 1.0.9 free download<br />
|
28 |
-
apkmirror gacha life 1.0.9 apk pure<br />
|
29 |
-
apkmirror gacha life 1.0.9 latest version<br />
|
30 |
-
apkmirror gacha life 1.0.9 for pc<br />
|
31 |
-
apkmirror gacha life 1.0.9 online<br />
|
32 |
-
apkmirror gacha life 1.0.9 hack<br />
|
33 |
-
apkmirror gacha life 1.0.9 unlimited money<br />
|
34 |
-
apkmirror gacha life 1.0.9 android<br />
|
35 |
-
apkmirror gacha life 1.0.9 ios<br />
|
36 |
-
apkmirror gacha life 1.0.9 gameplay<br />
|
37 |
-
apkmirror gacha life 1.0.9 review<br />
|
38 |
-
apkmirror gacha life 1.0.9 characters<br />
|
39 |
-
apkmirror gacha life 1.0.9 outfits<br />
|
40 |
-
apkmirror gacha life 1.0.9 studio<br />
|
41 |
-
apkmirror gacha life 1.0.9 mini games<br />
|
42 |
-
apkmirror gacha life 1.0.9 songs<br />
|
43 |
-
apkmirror gacha life 1.0.9 memes<br />
|
44 |
-
apkmirror gacha life 1.0.9 glitches<br />
|
45 |
-
apkmirror gacha life 1.0.9 secrets<br />
|
46 |
-
apkmirror gacha life 1.0.9 tips and tricks<br />
|
47 |
-
apkmirror gacha life 1.0.9 wallpapers<br />
|
48 |
-
apkmirror gacha life 1.0.9 edits<br />
|
49 |
-
apkmirror gacha life 1.0.9 stories<br />
|
50 |
-
apkmirror gacha life 1.0.9 roleplay<br />
|
51 |
-
apkmirror gacha life 1.0.9 voice acting<br />
|
52 |
-
apkmirror gacha life 1.0.9 animation<br />
|
53 |
-
apkmirror gacha life 1.0.9 fan art<br />
|
54 |
-
apkmirror gacha life 1.0.9 fanfiction<br />
|
55 |
-
apkmirror gacha life 1.0.9 quiz<br />
|
56 |
-
apkmirror gacha life 1.0.9 codes<br />
|
57 |
-
apkmirror gacha life 1.0.9 cheats<br />
|
58 |
-
apkmirror gacha life 1.0.9 bugs<br />
|
59 |
-
apkmirror gacha life 1.0.9 news<br />
|
60 |
-
apkmirror gacha life 1</p>
|
61 |
-
<p>To create a scene, you can use the following options:</p>
|
62 |
-
<ul>
|
63 |
-
<li><b>Characters:</b> You can add up to eight characters to your scene and choose their slots and positions. You can also edit their expressions and poses by tapping on their faces or bodies.</li>
|
64 |
-
<li><b>Backgrounds:</b> You can choose from over 100 backgrounds for your scene or use your own custom background by importing an image from your device.</li>
|
65 |
-
<li><b>Bubbles:</b> You can add text bubbles to your scene and choose their styles and positions. You can also edit their text by tapping on them.</li>
|
66 |
-
<li><b>Modes:</b> You can switch between normal mode and skit mode for your scene. Normal mode lets you create a single scene with static characters and text. Skit mode lets you create a sequence of scenes with animated characters and text.</li>
|
67 |
-
<li><b>Music:</b> You can choose from over 50 songs for your scene or use your own custom music by importing an audio file from your device.</li>
|
68 |
-
</ul>
|
69 |
-
<p>You can also use the play button to preview your scene or skit. You can also use the save button to save your scene or skit in your slot. You can also use the share button to share your scene or skit with others via social media or QR code.</p>
|
70 |
-
<h3>Life mode</h3>
|
71 |
-
<p>Life mode is the feature that lets you explore different areas and meet new NPCs. You can access it by tapping on the life button on the main menu. You can choose from 10 different areas: Hometown (where you start), School (where you learn), City (where you shop), Park (where you relax), Beach (where you swim), Hospital (where you heal), Hotel (where you sleep), Train Station (where you travel), Airport (where you fly), and Gacha Resort (where you have fun).</p>
|
72 |
-
<p>To explore an area, you can use the following options:</p>
|
73 |
-
<ul>
|
74 |
-
</li>
|
75 |
-
<li><b>Map:</b> You can use the map button to see the layout of each area and the locations of the NPCs. You can also use the map button to travel to other areas by tapping on their icons.</li>
|
76 |
-
<li><b>Phone:</b> You can use the phone button to access your contacts, messages, settings, and achievements. You can also use the phone button to call some NPCs and chat with them.</li>
|
77 |
-
<li><b>Menu:</b> You can use the menu button to access your inventory, collection, gacha, profile, and options. You can also use the menu button to exit life mode and return to the main menu.</li>
|
78 |
-
</ul>
|
79 |
-
<p>You can play life mode offline without Wi-Fi. However, you need to have Wi-Fi to chat with other players online or to access some features such as gacha resort or custom backgrounds and music.</p>
|
80 |
-
<h3>Gacha games</h3>
|
81 |
-
<p>Gacha games are the feature that lets you play eight different mini-games and earn gems. You can access it by tapping on the games button on the main menu. You can choose from eight mini-games: Bex's Festival, Orca Sploosh, Duck & Dodge, Phantom's Remix, Narwhal Sky, 1chi's Math, Picc Pawket Rhythm, and Lemo & Yumi's Beach Adventure.</p>
|
82 |
-
<p>To play a mini-game, you can use the following options:</p>
|
83 |
-
<ul>
|
84 |
-
<li><b>Play:</b> You can tap on the play button to start the mini-game. Each mini-game has different rules and controls that you need to follow. You can also see your high score and best time for each mini-game.</li>
|
85 |
-
<li><b>Gems:</b> You can earn gems by playing mini-games. The amount of gems you earn depends on your score and performance. You can use gems to gacha for rare gifts for your collection.</li>
|
86 |
-
<li><b>Gifts:</b> You can collect and gacha over 100 gifts for your collection. Each gift has a rarity level from one star to six stars. The higher the rarity level, the harder it is to get. You can also see your gift collection and gift inventory by tapping on the gift button.</li>
|
87 |
-
</ul>
|
88 |
-
<p>You can play gacha games for free and farm for gems easily. However, you need to have Wi-Fi to access some features such as gacha resort or custom backgrounds and music.</p>
|
89 |
-
<h2>How to Download and Install APKMirror Gacha Life 1.0.9</h2>
|
90 |
-
<p>If you want to download and install APKMirror Gacha Life 1.0.9 on your device, you need to follow these steps:</p>
|
91 |
-
<h3>Steps to download the APK file from APKMirror</h3>
|
92 |
-
<ol>
|
93 |
-
<li>Access the APKMirror website by typing <a href="">https://www.apkmirror.com/</a> in your browser or clicking on this link.</li>
|
94 |
-
<li>Search for Gacha Life 1.0.9 by typing it in the search bar or clicking on this link.</li>
|
95 |
-
<li>Choose the right version for your device by checking the compatibility information and tapping on the download button. The version you need is <a href="">Gacha Life 1.0.9 (arm-v7a) (Android 4.0+)</a>.</li>
|
96 |
-
<li>Download the APK file safely by tapping on the download APK button and waiting for a few seconds. The file size is 99 MB and the date is January 22, 2020.</li>
|
97 |
-
<li>Check the file signature before installing by tapping on the see available APKs button and scrolling down to see the cryptographic signature information. The signature should match this one: <code>A2:DF:B4:BF:AC:ED:64:AF:EA:4F:84:6F:4A:B7:93:A6:2A:D8:C6:DC</code>.</li>
|
98 |
-
</ol>
|
99 |
-
<h3>Steps to install the APK file on your device</h3>
|
100 |
-
<ol>
|
101 |
-
<li>Enable unknown sources in your device settings by going to Settings > Security > Unknown sources and toggling it on. This will allow you to install apps from sources other than the Play Store.</li>
|
102 |
-
<li>Locate the downloaded file and tap on it to install by going to your file manager app or notification bar and finding the file named <code>Gacha_Life_1.0.9.apk</code>.</li>
|
103 |
-
message that says app installed.</li>
|
104 |
-
</ol>
|
105 |
-
<p>Congratulations, you have successfully downloaded and installed APKMirror Gacha Life 1.0.9 on your device. You can now enjoy the game and its features.</p>
|
106 |
-
<h2>Tips and Tricks for Playing Gacha Life 1.0.9</h2>
|
107 |
-
<p>If you want to have more fun and success in playing Gacha Life 1.0.9, you can follow these tips and tricks:</p>
|
108 |
-
<h3>How to level up faster and unlock more features</h3>
|
109 |
-
<p>To level up faster and unlock more features in Gacha Life 1.0.9, you can do the following:</p>
|
110 |
-
<ul>
|
111 |
-
<li><b>Play mini-games and complete quizzes for gems and XP:</b> You can earn gems and XP by playing mini-games and completing quizzes from NPCs. Gems can be used to gacha for rare gifts, while XP can be used to level up and unlock more features such as chat, gacha resort, custom backgrounds, and custom music.</li>
|
112 |
-
<li><b>Talk to NPCs and give them gifts for friendship points and stamina:</b> You can earn friendship points and stamina by talking to NPCs and giving them gifts. Friendship points can be used to unlock more dialogue options and stories from NPCs, while stamina can be used to play mini-games and quizzes.</li>
|
113 |
-
<li><b>Use gacha gifts to boost your energy and unlock more items:</b> You can use gacha gifts to boost your energy and unlock more items for your collection. Energy can be used to play life mode and chat with other players online, while items can be used to customize your characters and scenes.</li>
|
114 |
-
</ul>
|
115 |
-
<h3>How to create amazing characters and skits</h3>
|
116 |
-
<p>To create amazing characters and skits in Gacha Life 1.0.9, you can do the following:</p>
|
117 |
-
<ul>
|
118 |
-
<li><b>Use the advanced color wheel and random options for more variety:</b> You can use the advanced color wheel to customize the colors of each item for your character or scene. You can also use the random button to generate a random character or outfit.</li>
|
119 |
-
<li><b>Use the copy and paste functions for easier editing:</b> You can use the copy and paste functions to copy the settings of one item or character and paste it to another item or character. This can save you time and effort when editing your characters or scenes.</li>
|
120 |
-
<li><b>Use the names, faces, poses, props, chat, and music buttons for more creativity:</b> You can use the names, faces, poses, props, chat, and music buttons to add more details and personality to your characters or scenes. You can also use these buttons to create funny or dramatic skits with custom text, expressions, actions, accessories, dialogue, and soundtracks.</li>
|
121 |
-
</ul>
|
122 |
-
<h3>How to avoid common problems and glitches</h3>
|
123 |
-
<p>To avoid common problems and glitches in Gacha Life 1.0.9, you can do the following:</p>
|
124 |
-
<ul>
|
125 |
-
<li><b>Restart the game if you experience lag or crashes over time:</b> You can restart the game if you experience lag or crashes over time due to memory issues or bugs. This can help you fix some minor problems and improve your game performance.</li>
|
126 |
-
<li><b>Avoid in-app purchases if you have Android 6.0+ devices or rooted devices:</b> You can avoid in-app purchases if you have Android 6.0+ devices or rooted devices as they may not work properly or cause errors in your game. This is because APKMirror Gacha Life 1.0.9 is not an official version of Gacha Life from Lunime Inc., the developer of the game.</li>
|
127 |
-
<li><b>Be careful of what you search for online, especially on YouTube, as some players may create inappropriate content using the skit maker:</b> You can be careful of what you search for online, especially on YouTube, as some players may create inappropriate content using the skit maker feature of Gacha Life 1.0.9. This content may contain violence, gore, sexual themes, profanity, or other sensitive topics that may not be suitable for younger audiences or violate the terms of service of YouTube or Gacha Life.</li>
|
128 |
-
</ul>
|
129 |
-
<h2>Conclusion</h2>
|
130 |
-
<p>Gacha Life 1.0.9 is an older version of Gacha Life that has some features that are not present in the latest version of Gacha Life, such as the chat function that lets you talk with other players online (available at level 10). However, it also has some drawbacks such as being outdated, unsupported, incompatible, or unsafe compared to the latest version of Gacha Life.</p>
|
131 |
-
<p>If you want to try APKMirror Gacha Life 1.0.9, you can download and install it from the APKMirror website by following the steps in this article. However, you should also be aware of the risks and limitations of using an unofficial version of Gacha Life. You should also respect the rules and guidelines of Gacha Life and YouTube when creating and sharing your content.</p>
|
132 |
-
<p>If you want to enjoy the latest features and updates of Gacha Life, you can download and install it from the official Google Play Store by clicking on this link. You can also visit the official website of Lunime Inc. to learn more about Gacha Life and their other games.</p>
|
133 |
-
<p>Whether you choose to play APKMirror Gacha Life 1.0.9 or the latest version of Gacha Life, we hope you have fun and unleash your creativity with this amazing anime game.</p>
|
134 |
-
<h2>FAQs</h2>
|
135 |
-
<p>Here are some frequently asked questions about APKMirror Gacha Life 1.0.9:</p>
|
136 |
-
<ol>
|
137 |
-
<li><b>Is APKMirror Gacha Life 1.0.9 safe to download and install?</b></li>
|
138 |
-
<p>APKMirror Gacha Life 1.0.9 is generally safe to download and install as long as you get it from the APKMirror website and check the file signature before installing. However, it is not an official version of Gacha Life from Lunime Inc., so it may not be compatible with your device or region, or it may contain bugs or errors that are not fixed by the developer.</p>
|
139 |
-
<li><b>Can I play APKMirror Gacha Life 1.0.9 online with other players?</b></li>
|
140 |
-
<p>APKMirror Gacha Life 1.0.9 has a chat function that lets you talk with other players online (available at level 10). However, this function may not work properly or may expose you to inappropriate or harmful content from other players. You should also be careful of sharing your personal information or clicking on any links that other players may send you.</p>
|
141 |
-
<li><b>Can I update APKMirror Gacha Life 1.0.9 to the latest version of Gacha Life?</b></li>
|
142 |
-
<p>APKMirror Gacha Life 1.0.9 cannot be updated to the latest version of Gacha Life from the Play Store or the APKMirror website. If you want to update your game, you need to uninstall APKMirror Gacha Life 1.0.9 and install the latest version of Gacha Life from the Play Store or the Lunime website.</p>
|
143 |
-
<li><b>Will I lose my progress or data if I uninstall APKMirror Gacha Life 1.0.9?</b></li>
|
144 |
-
<p>APKMirror Gacha Life 1.0.9 does not have a cloud save function, so you may lose your progress or data if you uninstall it from your device. You can try to backup your data by copying the <code>GACHA_LIFE</code> folder from your device storage to another location before uninstalling, but this may not work for all devices or versions.</p>
|
145 |
-
<li><b>Can I use custom backgrounds and music in APKMirror Gacha Life 1.0.9?</b></li>
|
146 |
-
<p>APKMirror Gacha Life 1.0.9 allows you to use custom backgrounds and music in studio mode and life mode if you have Wi-Fi enabled on your device. You can import your own images and audio files from your device or use the ones provided by Lunime in gacha resort.</p>
|
147 |
-
</ol></p> 197e85843d<br />
|
148 |
-
<br />
|
149 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Blockman GO - Adventures How to Download and Play on PC with BlueStacks.md
DELETED
@@ -1,97 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Blockman Go Adventure PC Download: How to Play, Craft, and Share Your Fun Experiences with Friends</h1>
|
3 |
-
<p>Are you looking for a fun, creative, and social sandbox game that lets you play various block-style minigames with your friends? If so, you might want to check out Blockman Go Adventure, a free-to-play game that offers a wonderland of adventures, challenges, and customization options. And if you want to enjoy this game even more, you might want to play it on your PC instead of your mobile device. In this article, we will tell you what Blockman Go Adventure is, why you should play it on PC, how to download and play it on PC using an emulator, and some tips and tricks for playing it on PC. Let's get started!</p>
|
4 |
-
<h2>blockman go adventure pc download</h2><br /><p><b><b>Download Zip</b> === <a href="https://jinyurl.com/2uNUa2">https://jinyurl.com/2uNUa2</a></b></p><br /><br />
|
5 |
-
<h2>What is Blockman Go Adventure?</h2>
|
6 |
-
<p>Blockman Go Adventure is a casual game developed by Studio Cubo Private Limited. It is a sandbox game that allows you to play, craft, and share your experiences with friends. You can choose from a variety of minigames that cover different genres such as action, role-playing, adventure, strategy, simulation, etc. Some of the popular minigames include Bed Wars, Sky Block, Anime Fighting Simulator, Egg War, Free City RP, Party Street, The Exorcists, Frontline, etc. You can also create your own minigames using the Blockman Editor and share them with other players.</p>
|
7 |
-
<p>Blockman Go Adventure also lets you customize your avatar with thousands of clothing items, accessories, hats, and decorations. You can also join a community of developers and players who share their creations and feedback. You can also collect rewards every time you log in or complete missions.</p>
|
8 |
-
<h2>Why Play Blockman Go Adventure on PC?</h2>
|
9 |
-
<p>While Blockman Go Adventure is designed for mobile devices, you might find it more enjoyable to play it on your PC. Here are some of the reasons why playing Blockman Go Adventure on PC is better than playing it on mobile devices:</p>
|
10 |
-
<h3>Better Performance and Graphics</h3>
|
11 |
-
<p>Playing Blockman Go Adventure on PC can improve the game's performance and graphics significantly. You can avoid lagging, crashing, or overheating issues that might occur on your mobile device. You can also enjoy the game's graphics in higher resolution and quality, making the game more visually appealing and realistic. You can also adjust the game's settings to suit your PC's specifications and preferences.</p>
|
12 |
-
<p>blockman go adventure pc download free<br />
|
13 |
-
blockman go adventure pc download windows 10<br />
|
14 |
-
blockman go adventure pc download bluestacks<br />
|
15 |
-
blockman go adventure pc download emulator<br />
|
16 |
-
blockman go adventure pc download apk<br />
|
17 |
-
blockman go adventure pc download mac<br />
|
18 |
-
blockman go adventure pc download online<br />
|
19 |
-
blockman go adventure pc download full version<br />
|
20 |
-
blockman go adventure pc download nox<br />
|
21 |
-
blockman go adventure pc download latest version<br />
|
22 |
-
blockman go adventure pc download 2023<br />
|
23 |
-
blockman go adventure pc download mod<br />
|
24 |
-
blockman go adventure pc download offline<br />
|
25 |
-
blockman go adventure pc download update<br />
|
26 |
-
blockman go adventure pc download steam<br />
|
27 |
-
blockman go adventure pc download softonic<br />
|
28 |
-
blockman go adventure pc download game loop<br />
|
29 |
-
blockman go adventure pc download memu<br />
|
30 |
-
blockman go adventure pc download ldplayer<br />
|
31 |
-
blockman go adventure pc download uptodown<br />
|
32 |
-
blockman go adventure pc download highly compressed<br />
|
33 |
-
blockman go adventure pc download without emulator<br />
|
34 |
-
blockman go adventure pc download hack<br />
|
35 |
-
blockman go adventure pc download beta<br />
|
36 |
-
blockman go adventure pc download new version<br />
|
37 |
-
blockman go adventure pc download windows 7<br />
|
38 |
-
blockman go adventure pc download windows 8<br />
|
39 |
-
blockman go adventure pc download laptop<br />
|
40 |
-
blockman go adventure pc download desktop<br />
|
41 |
-
blockman go adventure pc download chromebook<br />
|
42 |
-
blockman go adventure pc download unblocked<br />
|
43 |
-
blockman go adventure pc download reddit<br />
|
44 |
-
blockman go adventure pc download review<br />
|
45 |
-
blockman go adventure pc download guide<br />
|
46 |
-
blockman go adventure pc download tips and tricks<br />
|
47 |
-
blockman go adventure pc download cheats<br />
|
48 |
-
blockman go adventure pc download gameplay<br />
|
49 |
-
blockman go adventure pc download features<br />
|
50 |
-
blockman go adventure pc download requirements<br />
|
51 |
-
blockman go adventure pc download size<br />
|
52 |
-
blockman go adventure pc download link<br />
|
53 |
-
blockman go adventure pc download site<br />
|
54 |
-
blockman go adventure pc download installer<br />
|
55 |
-
blockman go adventure pc download setup<br />
|
56 |
-
blockman go adventure pc download exe file<br />
|
57 |
-
blockman go adventure pc download zip file<br />
|
58 |
-
blockman go adventure pc download rar file<br />
|
59 |
-
blockman go adventure pc download obb file</p>
|
60 |
-
<h3>Bigger Screen and Easier Controls</h3>
|
61 |
-
<p>Playing Blockman Go Adventure on PC can also enhance the game's immersion, interaction, and accessibility. You can play the game on a bigger screen, which can give you a better view of the game's world and details. You can also use your keyboard and mouse to control the game, which can be more comfortable and convenient than using your touchscreen. You can also customize your key mapping and mouse sensitivity to optimize your gameplay experience.</p>
|
62 |
-
<h3>More Options and Customization</h3>
|
63 |
-
<p>Playing Blockman Go Adventure on PC can also offer you more choices and flexibility for the game's settings, mods, and plugins. You can access more features and tools that might not be available on your mobile device, such as recording, streaming, editing, etc. You can also install and use various mods and plugins that can enhance or modify the game's content and functionality. For example, you can use mods that add new items, maps, characters, etc., or plugins that improve the game's performance, security, compatibility, etc.</p>
|
64 |
-
<h2>How to Download and Play Blockman Go Adventure on PC?</h2>
|
65 |
-
<p>Now that you know why playing Blockman Go Adventure on PC is better than playing it on mobile devices, you might be wondering how to download and play it on PC. The easiest way to do so is by using an emulator, which is a software that allows you to run Android apps on your PC. There are many emulators available online, but we recommend using BlueStacks, which is one of the best and most popular Android emulators for playing games on PC. Here are the steps to download and play Blockman Go Adventure on PC using BlueStacks:</p>
|
66 |
-
<h3>Download and Install BlueStacks on Your PC</h3>
|
67 |
-
<p>The first step is to download and install BlueStacks on your PC. You can do so by visiting the official website of BlueStacks at [bluestacks.com] and clicking on the "Download BlueStacks" button. Once the download is complete, run the installer and follow the instructions to complete the installation process. You might need to grant some permissions and restart your PC during the installation.</p>
|
68 |
-
<h3>Complete Google Sign-in to Access the Play Store</h3>
|
69 |
-
<p>The next step is to complete Google sign-in to access the Play Store. You can do so by launching BlueStacks and clicking on the "Google Sign-in" button on the home screen. You will need to enter your Google account credentials or create a new one if you don't have one already. Once you are signed in, you will be able to access the Play Store from BlueStacks.</p>
|
70 |
-
<h3>Install Blockman Go Adventure from the Search Results</h3>
|
71 |
-
<p>The third step is to install Blockman Go Adventure from the search results. You can do so by typing "Blockman Go Adventure" in the search bar of the Play Store and clicking on the "Install" button next to the game's icon. The game will be downloaded and installed automatically on your PC.</p>
|
72 |
-
<h3>Start Playing Blockman Go Adventure on Your PC</h3>
|
73 |
-
<p>The final step is to start playing Blockman Go Adventure on your PC. You can do so by clicking on the game's icon on the home screen of BlueStacks or in the "My Apps" tab. The game will launch and you will be able to enjoy it on your PC using your keyboard and mouse.</p>
|
74 |
-
<h2>Tips and Tricks for Playing Blockman Go Adventure on PC</h2>
|
75 |
-
<p>To make your gameplay experience even better, here are some tips and tricks for playing Blockman Go Adventure on PC:</p>
|
76 |
-
<h3>Use Macros to Automate Tasks and Actions</h3>
|
77 |
-
<p>One of the advantages of playing Blockman Go Adventure on PC using BlueStacks is that you can use macros to automate tasks and actions. Macros are sequences of commands that you can record and execute with a single keystroke. For example, you can create a macro that automatically crafts items, collects resources, builds structures, etc., in any minigame. To create a macro, you need to click on the "Macro Recorder" button on the right side of BlueStacks, press "Record", perform the actions you want to automate, press "Stop", name your macro, assign a key to it, and save it. To use a macro, you just need to press the assigned key while playing.</p>
|
78 |
-
<h3>Use Multi-Instance to Play Multiple Games at Once</h3>
|
79 |
-
<p>Another advantage of playing Blockman Go Adventure on PC using BlueStacks is that you can use multi-instance to play multiple games at once. Multi-instance is a feature that allows you to run multiple instances of the game on your PC and switch between them easily. For example, you can play different minigames at the same time, or play the same minigame with different accounts. To use multi-instance, you need to click on the "Multi-Instance Manager" button on the right side of BlueStacks, click on "New Instance", choose the settings for your new instance, and click on "Create". To switch between instances, you just need to click on the instance you want to play.</p>
|
80 |
-
<h3>Use Script to Customize Your Gameplay</h3>
|
81 |
-
<p>A third advantage of playing Blockman Go Adventure on PC using BlueStacks is that you can use script to customize your gameplay. Script is a feature that allows you to write and execute scripts that can modify your game's behavior and functionality. For example, you can use scripts to change your game's speed, camera angle, gravity, etc., or to automate certain actions or commands. To use script, you need to click on the "Script" button on the right side of BlueStacks, click on "Create a Script", write your script using the Lua programming language, save it, and run it. To stop a script, you just need to click on the "Stop" button.</p>
|
82 |
-
<h2>Conclusion</h2>
|
83 |
-
<p>Blockman Go Adventure is a fun, creative, and social sandbox game that lets you play various block-style minigames with your friends. You can also customize your avatar, create your own minigames, and join a community of developers and players. If you want to enjoy this game even more, you should play it on your PC using an emulator like BlueStacks. Playing Blockman Go Adventure on PC can improve your game's performance and graphics, enhance your game's immersion and interaction, and offer you more options and customization. You can also use features like macros, multi-instance, and script to optimize your gameplay experience. So what are you waiting for? Download Blockman Go Adventure on PC today and have fun!</p>
|
84 |
-
<h2>FAQs</h2>
|
85 |
-
<p>Here are some frequently asked questions about Blockman Go Adventure and playing it on PC:</p>
|
86 |
-
<h4>Q: Is Blockman Go Adventure free to play?</h4>
|
87 |
-
<p>A: Yes, Blockman Go Adventure is free to play. You can download it from the Play Store or the App Store without paying anything. However, the game does have some in-app purchases that can enhance your gameplay experience.</p>
|
88 |
-
<h4>Q: Can I play Blockman Go Adventure offline?</h4>
|
89 |
-
<p>A: No, Blockman Go Adventure requires an internet connection to play. You need to be online to access the game's servers, minigames, and community features.</p>
|
90 |
-
<h4>Q: Can I play Blockman Go Adventure with my friends?</h4>
|
91 |
-
<p>A: Yes, Blockman Go Adventure is a multiplayer game that allows you to play with your friends. You can join or create rooms with your friends and play any minigame together. You can also chat with your friends using the game's voice or text chat feature.</p>
|
92 |
-
<h4>Q: How can I update Blockman Go Adventure on PC?</h4>
|
93 |
-
<p>A: To update Blockman Go Adventure on PC, you need to launch BlueStacks and go to the Play Store. Then, you need to search for Blockman Go Adventure and click on the "Update" button next to the game's icon. The game will be updated automatically on your PC.</p>
|
94 |
-
<h4>Q: How can I contact the support team of Blockman Go Adventure?</h4>
|
95 |
-
<p>A: To contact the support team of Blockman Go Adventure, you need to go to the game's settings and click on the "Feedback" button. Then, you need to fill out a form with your name, email address, problem description, and screenshots if possible. The support team will reply to you as soon as possible.</p> 401be4b1e0<br />
|
96 |
-
<br />
|
97 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Bowmasters Mod APK How to Get All the Legendary Heroes and Weapons.md
DELETED
@@ -1,114 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Download Bowmasters Mod APK Unlocked All: A Fun and Bloody Physics Game</h1>
|
3 |
-
<p>If you are looking for a game that is simple, addictive, and hilarious, then you should try Bowmasters. This is a multiplayer game that involves aiming and shooting with bowmen. You can choose from over 60 characters from different dimensions, each with their own unique weapons and abilities. You can also play in various game modes, such as duels, tournaments, bird hunting, fruit shooting, and zombie survival. But what if you want to unlock all the characters and weapons without spending real money? Well, you can do that by downloading Bowmasters Mod APK Unlocked All. In this article, we will tell you what Bowmasters is, what features it has, why you should download Bowmasters Mod APK Unlocked All, how to download and install it, and some tips and tricks for playing it.</p>
|
4 |
-
<h2>What is Bowmasters?</h2>
|
5 |
-
<p>Bowmasters is a physics-based game that was developed by Playgendary. It was released in 2016 for iOS and Android devices. The game has been downloaded over 50 million times and has received positive reviews from critics and players alike. The game is inspired by other popular projectile games, such as Angry Birds and Worms. The game has a cartoonish style and a lot of humor and gore. The game is suitable for mature audiences only, as it contains violence, blood, and profanity.</p>
|
6 |
-
<h2>download bowmasters mod apk unlocked all</h2><br /><p><b><b>DOWNLOAD</b> ••• <a href="https://jinyurl.com/2uNQP3">https://jinyurl.com/2uNQP3</a></b></p><br /><br />
|
7 |
-
<h3>Features of Bowmasters</h3>
|
8 |
-
<p>Bowmasters has a lot of features that make it fun and engaging. Here are some of them:</p>
|
9 |
-
<h4>Characters</h4>
|
10 |
-
<p>The game has over 60 insane characters from all dimensions that you can play with. Some of them are original creations, while others are parodies of famous characters from movies, games, comics, and other media. For example, you can play as Arnold (a parody of Arnold Schwarzenegger), Robin (a parody of Robin Hood), or Mr. Gorskiy (a parody of Vladimir Putin). Each character has their own personality, voice lines, and animations.</p>
|
11 |
-
<h4>Weapons</h4>
|
12 |
-
<p>The game also has over 60 different weapons for total mayhem. Each weapon has its own physics, trajectory, damage, and special effects. Some weapons are normal, such as arrows, spears, or flags. Some weapons are circular or rotating, such as tomahawks, chainsaws, or shurikens. Some weapons are special, such as gamepads, magic cards, or unicorns. You can tap the screen again while the weapon is in the air to activate its special ability.</p>
|
13 |
-
<h4>Game Modes</h4>
|
14 |
-
<p>The game has multiple game modes that you can enjoy. You can shoot birds or fruits down to earn coins and gems. You can defeat the enemies in duels or tournaments to unlock new characters and weapons. You can play online multiplayer with your friends or random players from around the world. You can also survive the zombie apocalypse in the revamped zombie mode.</p>
|
15 |
-
<h3>Why Download Bowmasters Mod APK Unlocked All?</h3>
|
16 |
-
<p>While Bowmasters is free to play, it also has some in-app purchases that can enhance your gaming experience. For example, you can buy coins and gems to unlock new characters and weapons faster. You can also buy premium subscriptions to get more rewards and remove ads. However, not everyone can afford to spend real money on a mobile game. That's why some people prefer to download Bowmasters Mod APK Unlocked All.</p>
|
17 |
-
<h4>Benefits of Bowmasters Mod APK Unlocked All</h4>
|
18 |
-
<p>Bowmasters Mod APK Unlocked All is a modified version of the original game that gives you some amazing benefits that you won't get from the original game. Here are some of them:</p>
|
19 |
-
<p>download bowmasters mod apk unlimited money and characters<br />
|
20 |
-
download bowmasters mod apk latest version with all unlocked<br />
|
21 |
-
download bowmasters mod apk android 1 free<br />
|
22 |
-
download bowmasters mod apk revdl no ads<br />
|
23 |
-
download bowmasters mod apk happymod full<br />
|
24 |
-
download bowmasters mod apk rexdl offline<br />
|
25 |
-
download bowmasters mod apk 2023 update<br />
|
26 |
-
download bowmasters mod apk for pc windows 10<br />
|
27 |
-
download bowmasters mod apk ios iphone<br />
|
28 |
-
download bowmasters mod apk pure original<br />
|
29 |
-
download bowmasters hack mod apk cheat<br />
|
30 |
-
download bowmasters premium mod apk vip<br />
|
31 |
-
download bowmasters 2 mod apk new<br />
|
32 |
-
download bowmasters multiplayer mod apk online<br />
|
33 |
-
download bowmasters zombie mode mod apk<br />
|
34 |
-
download bowmasters all modes unlocked mod apk<br />
|
35 |
-
download bowmasters tournament mod apk pro<br />
|
36 |
-
download bowmasters world war mod apk<br />
|
37 |
-
download bowmasters duels mod apk<br />
|
38 |
-
download bowmasters adventure mode mod apk<br />
|
39 |
-
download bowmasters archery game mod apk<br />
|
40 |
-
download bowmasters shooting game mod apk<br />
|
41 |
-
download bowmasters ragdoll physics game mod apk<br />
|
42 |
-
download bowmasters funny game mod apk<br />
|
43 |
-
download bowmasters action game mod apk<br />
|
44 |
-
download bowmasters casual game mod apk<br />
|
45 |
-
download bowmasters 3d game mod apk<br />
|
46 |
-
download bowmasters pixel art game mod apk<br />
|
47 |
-
download bowmasters cartoon game mod apk<br />
|
48 |
-
download bowmasters super heroes game mod apk<br />
|
49 |
-
how to download bowmasters mod apk unlocked all<br />
|
50 |
-
where to download bowmasters mod apk unlocked all<br />
|
51 |
-
best site to download bowmasters mod apk unlocked all<br />
|
52 |
-
safe way to download bowmasters mod apk unlocked all<br />
|
53 |
-
easy steps to download bowmasters mod apk unlocked all<br />
|
54 |
-
guide to download bowmasters mod apk unlocked all<br />
|
55 |
-
tips to download bowmasters mod apk unlocked all<br />
|
56 |
-
tricks to download bowmasters mod apk unlocked all<br />
|
57 |
-
review of download bowmasters mod apk unlocked all<br />
|
58 |
-
benefits of download bowmasters mod apk unlocked all<br />
|
59 |
-
features of download bowmasters mod apk unlocked all<br />
|
60 |
-
gameplay of download bowmasters mod apk unlocked all<br />
|
61 |
-
screenshots of download bowmasters mod apk unlocked all<br />
|
62 |
-
video of download bowmasters mod apk unlocked all<br />
|
63 |
-
link to download bowmasters mod apk unlocked all<br />
|
64 |
-
file size of download bowmasters mod apk unlocked all<br />
|
65 |
-
version of download bowmasters mod apk unlocked all<br />
|
66 |
-
requirements of download bowmasters mod apk unlocked all<br />
|
67 |
-
installation of download bowmasters mod apk unlocked all</p>
|
68 |
-
<ul>
|
69 |
-
<li>You can unlock all the characters and weapons without spending any coins or gems. You can try out all the different combinations and find your favorite ones.</li>
|
70 |
-
<li>You can get unlimited coins and gems that you can use to buy anything you want in the game. You can also upgrade your weapons to make them more powerful and effective.</li>
|
71 |
-
<li>You can remove all the ads that can interrupt your gameplay and annoy you. You can enjoy the game without any distractions or interruptions.</li>
|
72 |
-
<li>You can access all the game modes and features without any restrictions or limitations. You can play online multiplayer, zombie mode, bird hunting, fruit shooting, and more.</li>
|
73 |
-
</ul>
|
74 |
-
<p>As you can see, Bowmasters Mod APK Unlocked All is a great way to enjoy the game to the fullest. You can have more fun and excitement with all the unlocked characters, weapons, coins, gems, and game modes.</p>
|
75 |
-
<h4>How to Download and Install Bowmasters Mod APK Unlocked All</h4>
|
76 |
-
<p>If you want to download and install Bowmasters Mod APK Unlocked All, you need to follow these simple steps:</p>
|
77 |
-
<ol>
|
78 |
-
<li>First, you need to uninstall the original game from your device if you have it installed. This is to avoid any conflicts or errors with the modded version.</li>
|
79 |
-
<li>Second, you need to enable the installation of apps from unknown sources on your device. This is to allow the installation of the modded version that is not from the official app store. To do this, go to your device settings, then security, then unknown sources, and turn it on.</li>
|
80 |
-
<li>Third, you need to download the Bowmasters Mod APK Unlocked All file from a reliable and trusted source. You can search for it online or use the link provided below.</li>
|
81 |
-
<li>Fourth, you need to locate the downloaded file on your device and tap on it to start the installation process. Follow the instructions on the screen and wait for it to finish.</li>
|
82 |
-
<li>Fifth, you need to launch the game and enjoy all the benefits of Bowmasters Mod APK Unlocked All.</li>
|
83 |
-
</ol>
|
84 |
-
<p>Note: Before you download and install Bowmasters Mod APK Unlocked All, make sure that your device meets the minimum requirements for the game. The game requires Android 4.4 or higher and at least 100 MB of free storage space.</p>
|
85 |
-
<h2>Tips and Tricks for Playing Bowmasters</h2>
|
86 |
-
<p>Bowmasters is a game that requires skill, strategy, and luck. It can be challenging and frustrating at times, but also rewarding and satisfying. To help you improve your gameplay and have more fun, here are some tips and tricks that you can use:</p>
|
87 |
-
<h3>Learn Your Weapons</h3>
|
88 |
-
<p>As mentioned earlier, each weapon in Bowmasters has its own physics, trajectory, damage, and special effects. Some weapons are easier to use than others, while some weapons are more suitable for certain situations than others. Therefore, it is important to learn how each weapon works and how to use it effectively. You can practice with each weapon in the training mode or in the bird hunting mode. You can also watch how other players use their weapons in online multiplayer or in tournaments.</p>
|
89 |
-
<h3>Aim and Power Up Your Shots</h3>
|
90 |
-
<p>The core mechanic of Bowmasters is aiming and shooting with bowmen. To do this, you need to drag your finger on the screen to adjust the angle and power of your shot. The longer you drag, the more power you will have. The power meter will show you how much power you have. You also need to consider the wind direction and speed, as they will affect your shot's trajectory. You can see the wind indicator on the top of the screen. To make a perfect shot, you need to aim carefully and power up your shot accordingly.</p>
|
91 |
-
<h3>Unlock All the Game Modes</h3>
|
92 |
-
<p>Bowmasters has multiple game modes that you can enjoy, but not all of them are available at first. You need to unlock them by completing certain tasks or achievements. For example, to unlock zombie mode, you need to kill 1000 zombies in duels or tournaments. To unlock fruit shooting mode, you need to shoot 100 fruits in bird hunting mode. To unlock online multiplayer mode, you need to win 10 duels or tournaments. By unlocking all the game modes, you can have more variety and fun in playing Bowmasters.</p>
|
93 |
-
<h3>Collect Coins and Gems</h3>
|
94 |
-
<p>Coins and gems are the main currencies in Bowmasters. You can use them to unlock new characters and weapons faster. You can also use them to upgrade your weapons to make them more powerful and effective. You can earn coins and gems by playing different game modes, such as duels, tournaments, bird hunting, fruit shooting, and zombie survival. You can also get coins and gems by watching ads or completing offers. However, if you download Bowmasters Mod APK Unlocked All, you can get unlimited coins and gems without any hassle.</p>
|
95 |
-
<h3>Have Fun and Experiment</h3>
|
96 |
-
<p>The most important tip for playing Bowmasters is to have fun and experiment. The game is meant to be a casual and humorous game that does not take itself too seriously. You can enjoy the funny animations, voice lines, and gore effects of the game. You can also experiment with different characters, weapons, and game modes to find your favorite ones. You can also challenge your friends or other players online to see who is the best bowman. The game has a lot of surprises and secrets that you can discover by playing it.</p>
|
97 |
-
<h2>Conclusion</h2>
|
98 |
-
<p>Bowmasters is a fun and bloody physics game that you can play on your mobile device. You can choose from over 60 characters from different dimensions, each with their own unique weapons and abilities. You can also play in various game modes, such as duels, tournaments, bird hunting, fruit shooting, and zombie survival. But if you want to unlock all the characters and weapons without spending real money, you can download Bowmasters Mod APK Unlocked All. This is a modified version of the original game that gives you unlimited coins and gems, all the unlocked characters and weapons, no ads, and access to all the game modes and features. You can download and install Bowmasters Mod APK Unlocked All by following the simple steps that we have provided in this article. We have also given you some tips and tricks for playing Bowmasters that can help you improve your gameplay and have more fun. So what are you waiting for? Download Bowmasters Mod APK Unlocked All now and enjoy this awesome game!</p>
|
99 |
-
<h2>FAQs</h2>
|
100 |
-
<p>Here are some frequently asked questions about Bowmasters and Bowmasters Mod APK Unlocked All:</p>
|
101 |
-
<ol>
|
102 |
-
<li>Is Bowmasters safe to play?</li>
|
103 |
-
<p>Bowmasters is safe to play as long as you download it from the official app store or a trusted source. However, the game contains violence, blood, and profanity that may not be suitable for children or sensitive people. The game also requires an internet connection to play online multiplayer or access some features.</p>
|
104 |
-
<li>Is Bowmasters Mod APK Unlocked All safe to download and install?</li>
|
105 |
-
<p>Bowmasters Mod APK Unlocked All is safe to download and install as long as you get it from a reliable and trusted source. However, you should be careful when downloading any modded or hacked apps from unknown sources, as they may contain viruses or malware that can harm your device or steal your personal information. You should also backup your data before installing any modded or hacked apps, as they may cause errors or conflicts with the original game.</p>
|
106 |
-
<li>Can I play Bowmasters offline?</li>
|
107 |
-
<p>You can play Bowmasters offline in some game modes, such as duels, tournaments, bird hunting, fruit shooting, and zombie survival. However, you need an internet connection to play online multiplayer or access some features, such as watching ads or completing offers.</p>
|
108 |
-
<li>How can I update Bowmasters Mod APK Unlocked All?</li>
|
109 |
-
<p>You can update Bowmasters Mod APK Unlocked All by downloading the latest version of the modded app from the same source that you got it from. You should also uninstall the previous version of the modded app before installing the new one to avoid any errors or conflicts.</p>
|
110 |
-
<li>How can I contact the developers of Bowmasters?</li>
|
111 |
-
<p>You can contact the developers of Bowmasters by sending them an email at [email protected] or by visiting their website at https://playgendary.com/. You can also follow them on their social media accounts on Facebook, Twitter, Instagram, YouTube, or TikTok.</p>
|
112 |
-
</ol></p> 401be4b1e0<br />
|
113 |
-
<br />
|
114 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Download EvoWars.io APK and Enjoy the Thrill of Fighting in the Deathmatch Arena.md
DELETED
@@ -1,138 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>How to Download EvoWars.io APK File for Android Devices</h1>
|
3 |
-
<p>If you are looking for a fun and addictive multiplayer action game, you might want to try EvoWars.io. This game lets you fight against other players in a top-down online battle arena, where you can collect orbs and evolve your warrior into different forms. In this article, we will explain what EvoWars.io is, what an APK file is, and how to download and install EvoWars.io APK file on your Android device.</p>
|
4 |
-
<h2>What Is EvoWars.io?</h2>
|
5 |
-
<p>EvoWars.io is an IO game developed by Night Steed Games and released in March 2018. It is available for web browsers (desktop and mobile), iOS, and Android platforms. You can play it online for free on websites like CrazyGames or download it from Google Play Store or other sources.</p>
|
6 |
-
<h2>download evowars.io apk</h2><br /><p><b><b>Download</b> ⚹⚹⚹ <a href="https://jinyurl.com/2uNRht">https://jinyurl.com/2uNRht</a></b></p><br /><br />
|
7 |
-
<h3>Gameplay and Features</h3>
|
8 |
-
<p>The gameplay of EvoWars.io is simple but exciting. You start as a caveman with a wooden club and you have to traverse the online battleground collecting orbs to grow your warrior and gain experience and points. You also have to fight against other players with different weapons and skills. The more enemies you kill, the faster you level up and evolve into new forms.</p>
|
9 |
-
<p>Some of the features of EvoWars.io are:</p>
|
10 |
-
<ul>
|
11 |
-
<li>Intense slashing gameplay to eliminate opponents</li>
|
12 |
-
<li>You can level up to increase the size and evolve to more than 15 character models</li>
|
13 |
-
<li>You can define your own play style and use every opportunity as good as possible</li>
|
14 |
-
<li>You can sprint at the cost of your experience points</li>
|
15 |
-
</ul>
|
16 |
-
<h3>Evolutions and Levels</h3>
|
17 |
-
<p>One of the most interesting aspects of EvoWars.io is the evolution system. As you level up, you can unlock new character models with different weapons and appearances. Each evolution improves your weapon range but slows your movement speed, so you have to balance between offense and defense.</p>
|
18 |
-
<p>Some of the evolutions you can achieve are:</p>
|
19 |
-
<table>
|
20 |
-
<tr><th>Level</th><th>Evolution</th><th>Weapon</th></tr>
|
21 |
-
<tr><td>1</td><td>Caveman</td><td>Wooden Club</td></tr>
|
22 |
-
<tr><td>5</td><td>Viking</td><td>Axe</td></tr>
|
23 |
-
<tr><td>10</td><td>Spartan</td><td>Spear</td></tr>
|
24 |
-
<tr><td>15</td><td>Knight</td><td>Sword</td></tr>
|
25 |
-
<tr><td>20</td><td>Ninja</td><td>Katana</td></tr>
|
26 |
-
<tr><td>25</td><td>Pirate</td><td>Cutlass</td></tr>
|
27 |
-
<tr><td>30</td><td>Morbash</td><td>Giant Hammer</td></tr>
|
28 |
-
<tr><td>...and more!</td></tr>
|
29 |
-
</table>
|
30 |
-
<h2>What Is an APK File?</h2>
|
31 |
-
<p>If you want to download EvoWars.io for your Android device, you might encounter an APK file. But what is an APK file and what does it do?</p>
|
32 |
-
<p>download evowars.io mod apk<br />
|
33 |
-
download evowars.io game for android<br />
|
34 |
-
download evowars.io latest version apk<br />
|
35 |
-
download evowars.io hack apk<br />
|
36 |
-
download evowars.io online game apk<br />
|
37 |
-
download evowars.io apk for pc<br />
|
38 |
-
download evowars.io apk free<br />
|
39 |
-
download evowars.io apk full<br />
|
40 |
-
download evowars.io apk unlimited money<br />
|
41 |
-
download evowars.io apk android 1<br />
|
42 |
-
download evowars.io apk pure<br />
|
43 |
-
download evowars.io apk mirror<br />
|
44 |
-
download evowars.io apk revdl<br />
|
45 |
-
download evowars.io apk uptodown<br />
|
46 |
-
download evowars.io apk rexdl<br />
|
47 |
-
download evowars.io apk obb<br />
|
48 |
-
download evowars.io apk data<br />
|
49 |
-
download evowars.io apk mod menu<br />
|
50 |
-
download evowars.io apk no ads<br />
|
51 |
-
download evowars.io apk offline<br />
|
52 |
-
download evowars.io apk old version<br />
|
53 |
-
download evowars.io apk new version<br />
|
54 |
-
download evowars.io apk pro<br />
|
55 |
-
download evowars.io apk premium<br />
|
56 |
-
download evowars.io apk cracked<br />
|
57 |
-
download evowars.io game mod apk<br />
|
58 |
-
download evowars.io game hack apk<br />
|
59 |
-
download evowars.io game latest version apk<br />
|
60 |
-
download evowars.io game free apk<br />
|
61 |
-
download evowars.io game full version apk<br />
|
62 |
-
how to download evowars.io apk<br />
|
63 |
-
where to download evowars.io apk<br />
|
64 |
-
best site to download evowars.io apk<br />
|
65 |
-
safe site to download evowars.io apk<br />
|
66 |
-
trusted site to download evowars.io apk<br />
|
67 |
-
legit site to download evowars.io apk<br />
|
68 |
-
original site to download evowars.io apk<br />
|
69 |
-
official site to download evowars.io apk<br />
|
70 |
-
website to download evowars.io apk<br />
|
71 |
-
link to download evowars.io apk</p>
|
72 |
-
<h3>Definition and Purpose</h3>
|
73 |
-
<p>The term APK stands for Android Package Kit. An APK file, on the other hand, can be considered as an archive file for any app which comes with the .apk file extension. It is a package file format used by the Android operating system for distributing and installing mobile apps and games. An APK file contains all the elements that an app needs to install correctly on your device, such as the code, resources, assets, certificates, and manifest file.</p>
|
74 |
-
<h3>Advantages and Risks</h3>
|
75 |
-
<p>There are some advantages and risks of using APK files for Android apps and games. Some of the advantages are:</p>
|
76 |
-
<ul>
|
77 |
-
<li>You can access apps and games that are not available in your region or device</li>
|
78 |
-
<li>You can get early access to beta versions or updates of apps and games before they are officially released</li>
|
79 |
-
<li>You can install apps and games that are not compatible with Google Play Store policies or requirements</li>
|
80 |
-
<li>You can customize or modify apps and games according to your preferences</li>
|
81 |
-
</ul>
|
82 |
-
<p>Some of the risks are:</p>
|
83 |
-
<ul>
|
84 |
-
<li>You can expose your device to malware or viruses that can harm your data or system</li>
|
85 |
-
<li>You can violate the intellectual property rights of the app or game developers by downloading pirated or cracked versions</li>
|
86 |
-
<li>You can compromise the security and privacy of your device by granting unknown permissions to the app or game</li>
|
87 |
-
<li>You can lose the support and updates from the official app or game developers by using unofficial sources</li>
|
88 |
-
</ul>
|
89 |
-
<h2>How to Download and Install EvoWars.io APK File?</h2>
|
90 |
-
<p>Now that you know what EvoWars.io and APK files are, you might be wondering how to download and install EvoWars.io APK file on your Android device. There are two main ways to do this: from Google Play Store or from other sources. We will explain both methods in detail below.</p>
|
91 |
-
<h3>Steps to Download from Google Play Store</h3>
|
92 |
-
<p>The easiest and safest way to download EvoWars.io APK file is from Google Play Store. This is the official source of Android apps and games, where you can find verified and updated versions of EvoWars.io. To download EvoWars.io APK file from Google Play Store, follow these steps:</p>
|
93 |
-
<ol>
|
94 |
-
<li>Open Google Play Store app on your Android device</li>
|
95 |
-
<li>Search for EvoWars.io in the search bar</li>
|
96 |
-
<li>Select EvoWars.io from the list of results and tap on Install button</li>
|
97 |
-
<li>Wait for the download and installation process to complete</li>
|
98 |
-
<li>Launch EvoWars.io app from your app drawer or home screen</li>
|
99 |
-
<li>Enjoy playing EvoWars.io online with other players!</li>
|
100 |
-
</ol>
|
101 |
-
<h3>Steps to Download from Other Sources</h3>
|
102 |
-
<p>If you cannot find EvoWars.io on Google Play Store, or you want to try a different version of EvoWars.io, you can download EvoWars.io APK file from other sources. However, you have to be careful when choosing a source, as some of them might contain malicious or outdated files. To download EvoWars.io APK file from other sources, follow these steps:</p>
|
103 |
-
<ol>
|
104 |
-
<li>Find a reliable and reputable source of EvoWars.io APK file, such as APKPure or APKMirror</li>
|
105 |
-
<li>Visit the website of the source and search for EvoWars.io in the search bar</li>
|
106 |
-
<li>Select EvoWars.io from the list of results and tap on Download button</li>
|
107 |
-
<li>Wait for the download process to complete and locate the downloaded file in your device storage</li>
|
108 |
-
<li>Before installing the file, make sure you enable Unknown Sources option in your device settings. This will allow you to install apps and games from sources other than Google Play Store.</li>
|
109 |
-
<li>To enable Unknown Sources option, go to Settings > Security > Unknown Sources and toggle it on.</li>
|
110 |
-
<li>Once you have enabled Unknown Sources option, tap on the downloaded file and follow the instructions to install it on your device.</li>
|
111 |
-
<li>Launch EvoWars.io app from your app drawer or home screen</li>
|
112 |
-
<li>Enjoy playing EvoWars.io online with other players!</li>
|
113 |
-
</ol>
|
114 |
-
<h3>Steps to Install APK File on Android Device</h3>
|
115 |
-
<p>If you already have an EvoWars.io APK file on your device storage, you can install it directly without downloading it again. To install an APK file on your Android device, follow these steps:</p>
|
116 |
-
<ol>
|
117 |
-
<li>Locate the APK file in your device storage using a file manager app or a browser</li>
|
118 |
-
<li>Before installing the file, make sure you enable Unknown Sources option in your device settings. This will allow you to install apps and games from sources other than Google Play Store.</li>
|
119 |
-
<li>To enable Unknown Sources option, go to Settings > Security > Unknown Sources and toggle it on.</li>
|
120 |
-
<li>Once you have enabled Unknown Sources option, tap on the APK file and follow the instructions to install it on your device.</li>
|
121 |
-
<li>Launch EvoWars.io app from your app drawer or home screen </li>
|
122 |
-
<li>Enjoy playing EvoWars.io online with other players!</li>
|
123 |
-
</ol>
|
124 |
-
<h2>Conclusion</h2>
|
125 |
-
<p>EvoWars.io is a fun and addictive multiplayer action game that lets you fight and evolve your warrior in a top-down online battle arena. You can download and install EvoWars.io APK file on your Android device from Google Play Store or other sources. However, you have to be careful when choosing a source and enable Unknown Sources option in your device settings. We hope this article has helped you learn how to download EvoWars.io APK file for Android devices. If you have any questions or feedback, please feel free to leave a comment below.</p>
|
126 |
-
<h2>FAQs</h2>
|
127 |
-
<h3>Q1. Is EvoWars.io free to play?</h3>
|
128 |
-
<p>A1. Yes, EvoWars.io is free to play online on web browsers or download on mobile platforms. However, it may contain ads or in-app purchases that require real money.</p>
|
129 |
-
<h3>Q2. Can I play EvoWars.io on other platforms?</h3>
|
130 |
-
<p>A2. Yes, you can play EvoWars.io on web browsers (desktop and mobile), iOS, and Android platforms. However, the gameplay and features may vary depending on the platform.</p>
|
131 |
-
<h3>Q3. How can I update EvoWars.io APK file?</h3>
|
132 |
-
<p>A3. If you have downloaded EvoWars.io APK file from Google Play Store, you can update it automatically or manually from the app store. If you have downloaded EvoWars.io APK file from other sources, you have to check the source website for the latest version and download it again.</p>
|
133 |
-
<h3>Q4. How can I uninstall EvoWars.io APK file?</h3>
|
134 |
-
<p>A4. If you want to uninstall EvoWars.io APK file from your Android device, you can go to Settings > Apps > EvoWars.io and tap on Uninstall button. Alternatively, you can long-press the app icon on your home screen or app drawer and drag it to the Uninstall option.</p>
|
135 |
-
<h3>Q5. What are some alternatives to EvoWars.io?</h3>
|
136 |
-
<p>A5. If you like EvoWars.io, you might also enjoy other IO games that involve fighting and evolving your character, such as BrutalMania.io, ZombsRoyale.io, or Agar.io. You can find these games online or download them from Google Play Store or other sources.</p> 401be4b1e0<br />
|
137 |
-
<br />
|
138 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Download Project Playtime and Join the Fun or the Fear - Itch.io.md
DELETED
@@ -1,196 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Project Playtime: A Free-to-Play Multiplayer Horror Game</h1>
|
3 |
-
<p>Do you love horror games that make you scream, laugh, and cooperate with your friends? Do you enjoy playing as a helpless toy or a terrifying monster in a creepy toy factory? If you answered yes to any of these questions, then you might want to check out Project Playtime, a free-to-play multiplayer horror game that is available for download on itch.io, Steam, and other platforms. In this article, we will tell you everything you need to know about Project Playtime, including what it is, how to download it, how to play it, and why you should play it.</p>
|
4 |
-
<h2>What is Project Playtime?</h2>
|
5 |
-
<p>Project Playtime is a multiplayer horror game where six players attempt to create one giant toy while surviving a horrifying monster that roams the toy factory. A seventh player controls the monster and is given only one goal: Find and kill everyone. The game is inspired by popular horror games such as Dead by Daylight, Friday the 13th, and Among Us, but with a unique twist: The toys and the monster are all based on children's drawings and nightmares.</p>
|
6 |
-
<h2>project playtime download itch.io</h2><br /><p><b><b>Download</b> 🌟 <a href="https://jinyurl.com/2uNNFl">https://jinyurl.com/2uNNFl</a></b></p><br /><br />
|
7 |
-
<h3>The premise and gameplay of Project Playtime</h3>
|
8 |
-
<p>The game is set in an abandoned toy factory where a mysterious entity known as "The Voice" has trapped seven children. The Voice tells them that they have to play a game: Six of them will become toys and have to work together to build one giant toy using parts scattered around the factory. The seventh child will become a monster and have to hunt down and kill the toys before they finish their task. The game ends when either the toys complete their objective or the monster kills them all.</p>
|
9 |
-
<h3>The features and modes of Project Playtime</h3>
|
10 |
-
<p>Project Playtime has several features and modes that make it fun and exciting for both the toys and the monster. Some of these features are:</p>
|
11 |
-
<ul>
|
12 |
-
<li>Randomized maps: The game has four different maps that are randomly generated each time you play, making each match unpredictable and challenging.</li>
|
13 |
-
<li>Customizable characters: The game allows you to customize your appearance, voice, name, and color as a toy or a monster.</li>
|
14 |
-
<li>Different roles: The game has four different roles for the toys: Leader, Medic, Engineer, and Scout. Each role has its own abilities and perks that can help or hinder the team.</li>
|
15 |
-
<li>Different monsters: The game has four different monsters to choose from: Clowny, Teddy, Piggy, and Bunny. Each monster has its own strengths and weaknesses that can affect the gameplay.</li>
|
16 |
-
<li>Online and offline modes: The game can be played online with up to seven players or offline with bots or solo.</li>
|
17 |
-
</ul>
|
18 |
-
<h3>The inspiration and development of Project Playtime</h3>
|
19 |
-
<p>Project Playtime is developed by MOB Game, an indie game studio based in Canada. The game was inspired by the developer's childhood memories of playing with toys and drawing monsters. The developer wanted to create a game that would capture the essence of childhood imagination and fear in a fun and engaging way. The game was first released on itch.io in October 2022 as a game mod for another horror game called Baldi's Basics Plus. Since then, the game has received positive feedback from players and critics alike, and has been greenlit on Steam in December 2022. The game is currently in development and is expected to be fully released on Steam and other platforms in mid-2023.</p>
|
20 |
-
<h2>How to download Project Playtime?</h2>
|
21 |
-
<p>If you are interested in playing Project Playtime, you have several options to download it. The game is free-to-play and does not require any special hardware or software to run. Here are some of the ways you can download Project Playtime:</p>
|
22 |
-
<h3>Downloading Project Playtime from itch.io</h3>
|
23 |
-
<p>The easiest and fastest way to download Project Playtime is from itch.io, a website that hosts indie games and game mods. You can find the game's page on itch.io by clicking [here]. To download the game from itch.io, you need to follow these steps:</p>
|
24 |
-
<ol>
|
25 |
-
<li>Create a free account on itch.io or log in with your existing account.</li>
|
26 |
-
<li>Click on the "Download" button on the game's page.</li>
|
27 |
-
<li>Choose the version of the game that matches your operating system (Windows, Mac, or Linux).</li>
|
28 |
-
<li>Wait for the game to download as a ZIP file.</li>
|
29 |
-
<li>Extract the ZIP file to a folder of your choice.</li>
|
30 |
-
<li>Open the folder and double-click on the "ProjectPlaytime.exe" file to launch the game.</li>
|
31 |
-
</ol>
|
32 |
-
<h3>Downloading Project Playtime from Steam</h3>
|
33 |
-
<p>Another way to download Project Playtime is from Steam, a popular digital distribution platform for games and software. You can find the game's page on Steam by clicking [here]. To download the game from Steam, you need to follow these steps:</p>
|
34 |
-
<ol>
|
35 |
-
<li>Create a free account on Steam or log in with your existing account.</li>
|
36 |
-
<li>Download and install the Steam client on your computer.</li>
|
37 |
-
<li>Open the Steam client and search for "Project Playtime" in the store.</li>
|
38 |
-
<li>Click on the "Add to Library" button on the game's page.</li>
|
39 |
-
<li>Go to your library and click on "Project Playtime" in your list of games.</li>
|
40 |
-
<li>Click on the "Install" button and wait for the game to download and install.</li>
|
41 |
-
<li>Click on the "Play" button to launch the game.</li>
|
42 |
-
</ol>
|
43 |
-
<h3>Downloading Project Playtime from other sources</h3>
|
44 |
-
<p>Besides itch.io and Steam, you can also download Project Playtime from other sources that host indie games and game mods. Some of these sources are:</p>
|
45 |
-
<p>project playtime game download itch.io<br />
|
46 |
-
project playtime horror mod download itch.io<br />
|
47 |
-
project playtime free download itch.io<br />
|
48 |
-
project playtime steam or itch.io<br />
|
49 |
-
project playtime multiplayer download itch.io<br />
|
50 |
-
project playtime toy factory download itch.io<br />
|
51 |
-
project playtime by mob game download itch.io<br />
|
52 |
-
project playtime by nekohashizuku download itch.io<br />
|
53 |
-
project playtime full version download itch.io<br />
|
54 |
-
project playtime demo download itch.io<br />
|
55 |
-
project playtime pc download itch.io<br />
|
56 |
-
project playtime mac download itch.io<br />
|
57 |
-
project playtime linux download itch.io<br />
|
58 |
-
project playtime android download itch.io<br />
|
59 |
-
project playtime ios download itch.io<br />
|
60 |
-
project playtime online download itch.io<br />
|
61 |
-
project playtime offline download itch.io<br />
|
62 |
-
project playtime no virus download itch.io<br />
|
63 |
-
project playtime safe download itch.io<br />
|
64 |
-
project playtime latest version download itch.io<br />
|
65 |
-
project playtime update download itch.io<br />
|
66 |
-
project playtime patch download itch.io<br />
|
67 |
-
project playtime crack download itch.io<br />
|
68 |
-
project playtime cheats download itch.io<br />
|
69 |
-
project playtime mods download itch.io<br />
|
70 |
-
project playtime custom maps download itch.io<br />
|
71 |
-
project playtime fan games download itch.io<br />
|
72 |
-
project playtime fan art download itch.io<br />
|
73 |
-
project playtime soundtrack download itch.io<br />
|
74 |
-
project playtime trailer download itch.io<br />
|
75 |
-
project playtime gameplay download itch.io<br />
|
76 |
-
project playtime walkthrough download itch.io<br />
|
77 |
-
project playtime tips and tricks download itch.io<br />
|
78 |
-
project playtime review download itch.io<br />
|
79 |
-
project playtime rating download itch.io<br />
|
80 |
-
project playtime feedback download itch.io<br />
|
81 |
-
project playtime support download itch.io<br />
|
82 |
-
project playtime donation download itch.io<br />
|
83 |
-
project playtime pay what you want download itch.io<br />
|
84 |
-
project playtime how to install from itch.io<br />
|
85 |
-
project playtime how to uninstall from itch.io<br />
|
86 |
-
project playtime how to update from itch.io<br />
|
87 |
-
project playtime how to launch from itch.io<br />
|
88 |
-
project playtime how to join multiplayer from itch.io<br />
|
89 |
-
project playtime how to create a server from itch.io<br />
|
90 |
-
project playtime how to invite friends from itch.io <br />
|
91 |
-
project playtime how to chat with other players from itch.io <br />
|
92 |
-
project playtime how to report bugs from itch.io <br />
|
93 |
-
project playtime how to request features from itch.io</p>
|
94 |
-
<ul>
|
95 |
-
<li>[GameJolt]: A website that allows users to upload and play indie games for free.</li>
|
96 |
-
<li>[ModDB]: A website that hosts mods for various games, including Project Playtime.</li>
|
97 |
-
<li>[IndieDB]: A website that showcases indie games and their development progress.</li>
|
98 |
-
</ul>
|
99 |
-
<p>To download Project Playtime from these sources, you need to follow similar steps as downloading from itch.io, but with different URLs and file names. You can find the links to these sources on the game's official website [here].</p>
|
100 |
-
<h2>How to play Project Playtime?</h2>
|
101 |
-
<p>Now that you have downloaded Project Playtime, you might be wondering how to play it. The game is easy to learn but hard to master, as it requires teamwork, strategy, and skill. Here are some of the basics of how to play Project Playtime:</p>
|
102 |
-
<h3>Playing Project Playtime online with friends or strangers</h3>
|
103 |
-
<p>The main mode of Project Playtime is online multiplayer, where you can join or host a match with up to seven players. You can choose to play with your friends or with strangers from around the world. To play online multiplayer, you need to follow these steps:</p>
|
104 |
-
<ol>
|
105 |
-
<li>Launch the game and click on "Online Multiplayer" in the main menu.</li>
|
106 |
-
<li>Select whether you want to join a match or host a match.</li>
|
107 |
-
<li>If you want to join a match, you can browse through the available servers or use the quick join option. You can also filter the servers by map, mode, ping, or password.</li>
|
108 |
-
<li>If you want to host a match, you can create your own server and customize it with your preferred settings. You can also invite your friends or make it public for anyone to join.</li>
|
109 |
-
<li>Once you are in a match, you can choose whether you want to be a toy or a monster. You can also switch teams if there is an imbalance or if you want to try a different role.</li>
|
110 |
-
<li>When everyone is ready, the match will start and you will be transported to the toy factory. You will then have to follow the instructions of The Voice and try to survive or kill depending on your role.</li>
|
111 |
-
</ol>
|
112 |
-
<h3 >Playing Project Playtime offline with bots or solo</h3>
|
113 |
-
<p>If you don't have an internet connection or you prefer to play alone, you can also play Project Playtime offline with bots or solo. You can choose to play as a toy or a monster and adjust the difficulty and behavior of the bots. To play offline with bots or solo, you need to follow these steps:</p>
|
114 |
-
<ol>
|
115 |
-
<li>Launch the game and click on "Offline Mode" in the main menu.</li>
|
116 |
-
<li>Select whether you want to play as a toy or a monster.</li>
|
117 |
-
<li>Select the map and the mode you want to play.</li>
|
118 |
-
<li>Select the number and the type of bots you want to play with or against. You can also turn off the bots if you want to play solo.</li>
|
119 |
-
<li>Click on "Start Game" and wait for the game to load.</li>
|
120 |
-
<li>You will then be transported to the toy factory and you can play the game as normal.</li>
|
121 |
-
</ol>
|
122 |
-
<h3>Playing Project Playtime as a toy or as a monster</h3>
|
123 |
-
<p>Whether you play online or offline, you can choose to play as a toy or as a monster in Project Playtime. Each role has its own objectives, abilities, and challenges. Here are some of the differences between playing as a toy or as a monster:</p>
|
124 |
-
<table>
|
125 |
-
<tr>
|
126 |
-
<th>Toy</th>
|
127 |
-
<th>Monster</th>
|
128 |
-
</tr>
|
129 |
-
<tr>
|
130 |
-
<td>You have to work together with your teammates to find and assemble parts for one giant toy.</td>
|
131 |
-
<td>You have to hunt down and kill all the toys before they complete their objective.</td>
|
132 |
-
</tr>
|
133 |
-
<tr>
|
134 |
-
<td>You have limited vision and can only see in front of you.</td>
|
135 |
-
<td>You have enhanced vision and can see in all directions.</td>
|
136 |
-
</tr>
|
137 |
-
<tr>
|
138 |
-
<td>You have no weapons and can only run, hide, or distract the monster.</td>
|
139 |
-
<td>You have various weapons and abilities that can damage, stun, or trap the toys.</td>
|
140 |
-
</tr>
|
141 |
-
<tr>
|
142 |
-
<td>You can communicate with your teammates using voice chat or text chat.</td>
|
143 |
-
<td>You can only communicate with The Voice using voice chat.</td>
|
144 |
-
</tr>
|
145 |
-
<tr>
|
146 |
-
<td>You can choose from four different roles: Leader, Medic, Engineer, or Scout. Each role has its own perks and drawbacks.</td>
|
147 |
-
<td>You can choose from four different monsters: Clowny, Teddy, Piggy, or Bunny. Each monster has its own strengths and weaknesses.</td>
|
148 |
-
</tr>
|
149 |
-
</table>
|
150 |
-
<h2>Why should you play Project Playtime?</h2>
|
151 |
-
<p>Project Playtime is not just another horror game. It is a game that offers a unique and thrilling experience for both horror fans and casual gamers alike. Here are some of the reasons why you should play Project Playtime:</p>
|
152 |
-
<h3>The benefits and challenges of playing Project Playtime</h3>
|
153 |
-
<p>Playing Project Playtime can provide you with many benefits and challenges that can improve your skills, creativity, and enjoyment. Some of these benefits and challenges are:</p>
|
154 |
-
<ul>
|
155 |
-
<li>Improving your teamwork and communication skills: Playing as a toy requires you to cooperate and coordinate with your teammates to achieve your goal. You have to share information, plan strategies, and support each other in times of danger.</li>
|
156 |
-
<li>Enhancing your problem-solving and decision-making skills: Playing as a monster requires you to think fast and act smart to find and eliminate your targets. You have to use your senses, abilities, and environment to your advantage.</li>
|
157 |
-
<li>Boosting your imagination and creativity: Playing Project Playtime allows you to explore a world of childhood fantasy and horror. You can customize your character, create your own stories, and experience different scenarios each time you play.</li>
|
158 |
-
<li>Increasing your adrenaline and excitement: Playing Project Playtime can give you a rush of adrenaline and excitement as you face unpredictable situations, jump scares, and intense moments. You never know what will happen next or who will survive until the end.</li>
|
159 |
-
</ul>
|
160 |
-
<h3>The reviews and ratings of Project Playtime</h3>
|
161 |
-
<p>Project Playtime has received positive reviews and ratings from players and critics alike. The game has been praised for its originality, gameplay, graphics, sound, and atmosphere. The game has also been featured on various media outlets such as YouTube, Twitch, Reddit, Twitter, and more. Here are some of the reviews and ratings of Project Playtime:</p>
|
162 |
-
<ul>
|
163 |
-
<li>"Project Playtime is one of the best horror games I've ever played. It's scary, funny, and addictive. I love playing as both the toy and the monster. The game is constantly updated with new content and features. I highly recommend it to anyone who likes horror games." - 5 stars on itch.io</li>
|
164 |
-
<li>"Project Playtime is a game that will make you scream, laugh, and cry. It's a game that will test your skills, creativity, and courage. It's a game that will make you feel like a child again, but in a twisted way. It's a game that you should definitely try if you are looking for a new and exciting horror experience." - 9/10 on Steam</li>
|
165 |
-
<li>"Project Playtime is a game that combines horror, comedy, and nostalgia in a brilliant way. It's a game that has a lot of potential and charm. It's a game that is constantly evolving and improving. It's a game that deserves more attention and support from the gaming community." - 4.5/5 on GameJolt</li>
|
166 |
-
</ul>
|
167 |
-
<h3>The future updates and plans for Project Playtime</h3>
|
168 |
-
<p>Project Playtime is not a finished game yet. It is still in development and is expected to have more updates and features in the future. The developer has stated that they have many plans and ideas for the game, such as:</p>
|
169 |
-
<ul>
|
170 |
-
<li>Adding more maps, modes, roles, monsters, and customization options.</li>
|
171 |
-
<li>Improving the graphics, sound, performance, and stability of the game.</li>
|
172 |
-
<li>Fixing bugs, glitches, and balancing issues.</li>
|
173 |
-
<li>Implementing cross-play, voice chat, leaderboards, achievements, and more.</li>
|
174 |
-
<li>Creating a story mode, a tutorial mode, and a sandbox mode.</li>
|
175 |
-
<li>Expanding the lore and the backstory of the game.</li>
|
176 |
-
</ul>
|
177 |
-
<h2>Conclusion</h2>
|
178 |
-
<p>Project Playtime is a free-to-play multiplayer horror game that you can download from itch.io, Steam, or other sources. It is a game that lets you play as a toy or a monster in a creepy toy factory. It is a game that offers a unique and thrilling experience for both horror fans and casual gamers alike. It is a game that you should play if you love horror games that make you scream, laugh, and cooperate with your friends.</p>
|
179 |
-
<p>If you want to learn more about Project Playtime, you can visit the game's official website [here], where you can find more information, screenshots, videos, links, and contact details. You can also follow the game's social media accounts on [Twitter], [Facebook], [Instagram], [YouTube], and [Discord], where you can get the latest news, updates, announcements, and interact with the developer and other players.</p>
|
180 |
-
<p>We hope you enjoyed this article and found it helpful. If you have any questions or feedback about Project Playtime or this article, please feel free to leave them in the comments section below. Thank you for reading and have fun playing Project Playtime!</p>
|
181 |
-
<h2>Frequently Asked Questions</h2>
|
182 |
-
<p>Here are some of the frequently asked questions about Project Playtime:</p>
|
183 |
-
<h3>Is Project Playtime safe to download?</h3>
|
184 |
-
<p>Yes, Project Playtime is safe to download from itch.io, Steam, or other sources. The game does not contain any viruses, malware, or spyware. However, you should always scan any files you download from the internet with an antivirus software before opening them.</p>
|
185 |
-
<h3>Is Project Playtime suitable for children?</h3>
|
186 |
-
<p>No, Project Playtime is not suitable for children under 13 years old. The game contains violence, gore, blood, jump scares, and disturbing images that may be too scary or inappropriate for young audiences. The game also has some mild language and suggestive themes that may not be suitable for children.</p>
|
187 |
-
<h3>How long does it take to play one match of Project Playtime?</h3>
|
188 |
-
<p>The duration of one match of Project Playtime depends on several factors such as the map size, the mode type , the number of players, and the skill level of the players. However, on average, one match of Project Playtime lasts for about 10 to 15 minutes.</p>
|
189 |
-
<h3>Can I play Project Playtime with a controller?</h3>
|
190 |
-
<p>Yes, you can play Project Playtime with a controller. The game supports both keyboard and mouse and controller inputs. You can also customize your controls in the settings menu. However, some players may find it easier to play with a keyboard and mouse, especially as a monster.</p>
|
191 |
-
<h3>Can I play Project Playtime with VR?</h3>
|
192 |
-
<p>No, you cannot play Project Playtime with VR. The game does not support VR devices or features. The game is designed to be played on a regular monitor or screen. However, the game still has a high level of immersion and realism that can make you feel like you are in the toy factory.</p>
|
193 |
-
<h3>Can I mod Project Playtime?</h3>
|
194 |
-
<p>Yes, you can mod Project Playtime. The game is mod-friendly and allows you to create your own maps, modes, roles, monsters, and more. You can use the game's built-in editor or other tools to create your own mods. You can also share your mods with other players on itch.io, ModDB, IndieDB, or other platforms.</p> 197e85843d<br />
|
195 |
-
<br />
|
196 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/1phancelerku/anime-remove-background/Driving School APK - Drive Your Dream Car in Different Modes and Locations.md
DELETED
@@ -1,108 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Driving School Sim: A Fun and Realistic Driving Game for Android</h1>
|
3 |
-
<p>Do you love driving games? Do you want to learn how to drive different types of vehicles in various scenarios? Do you want to challenge yourself and compete with other players online? If you answered yes to any of these questions, then you should definitely check out Driving School Sim, a fun and realistic driving game for Android devices.</p>
|
4 |
-
<h2>Introduction</h2>
|
5 |
-
<h3>What is Driving School Sim?</h3>
|
6 |
-
<p>Driving School Sim is an awesome driving game that lets you experience what it's like to drive some of the most high-power vehicles on today's market. You can choose from over 150 cars, trucks, buses, motorcycles, and more, and drive them in different environments, such as cities, highways, deserts, mountains, and snow. You can also customize your vehicles with various paint jobs, rims, spoilers, and accessories.</p>
|
7 |
-
<h2>driving school apk</h2><br /><p><b><b>DOWNLOAD</b> 🆗 <a href="https://jinyurl.com/2uNMVu">https://jinyurl.com/2uNMVu</a></b></p><br /><br />
|
8 |
-
<h3>Why should you play Driving School Sim?</h3>
|
9 |
-
<p>Driving School Sim is not just a game, it's also a learning tool. You can improve your driving skills by following the road rules, using the signals, parking correctly, and avoiding accidents. You can also take driving tests and earn licenses for different categories of vehicles. You can even learn how to drive a manual transmission with a clutch and stick shift.</p>
|
10 |
-
<p>But don't worry, Driving School Sim is not all about learning. It's also about having fun. You can explore the open world map, discover hidden locations, perform stunts, race against time, and more. You can also play online with other players, join events, chat with friends, and climb the leaderboards.</p>
|
11 |
-
<h2>Features of Driving School Sim</h2>
|
12 |
-
<h3>Different modes and challenges</h3>
|
13 |
-
<p>Driving School Sim offers various modes and challenges to suit your preferences and skill level. You can play in free ride mode, where you can drive anywhere you want without any restrictions. You can also play in career mode, where you can complete missions and earn money to buy new vehicles and upgrades. You can also play in test mode, where you can take driving exams and get licenses for different types of vehicles.</p>
|
14 |
-
<h3>Various vehicles and customization options</h3>
|
15 |
-
<p>Driving School Sim features over 150 vehicles from famous brands, such as Audi, BMW, Ferrari, Ford, Mercedes-Benz, Nissan, Tesla, and more. You can drive cars, trucks, buses, motorcycles, and even tanks. You can also customize your vehicles with various paint jobs, rims, spoilers, and accessories. You can change the color of your car, add stickers, neon lights, nitro boosters, and more.</p>
|
16 |
-
<p>driving school sim apk<br />
|
17 |
-
driving school 2017 apk<br />
|
18 |
-
driving school 2016 apk<br />
|
19 |
-
driving school simulator apk<br />
|
20 |
-
driving school 3d apk<br />
|
21 |
-
driving school classics apk<br />
|
22 |
-
real driving school apk<br />
|
23 |
-
car driving school simulator apk<br />
|
24 |
-
ultimate car driving school apk<br />
|
25 |
-
manual car driving school apk<br />
|
26 |
-
bus driving school simulator apk<br />
|
27 |
-
truck driving school simulator apk<br />
|
28 |
-
city car driving school 3d apk<br />
|
29 |
-
extreme car driving school 3d apk<br />
|
30 |
-
modern car driving school 3d apk<br />
|
31 |
-
super car driving school 3d apk<br />
|
32 |
-
luxury car driving school 3d apk<br />
|
33 |
-
offroad car driving school 3d apk<br />
|
34 |
-
stunt car driving school 3d apk<br />
|
35 |
-
sports car driving school 3d apk<br />
|
36 |
-
bike driving school simulator apk<br />
|
37 |
-
motorcycle driving school simulator apk<br />
|
38 |
-
scooter driving school simulator apk<br />
|
39 |
-
quad bike driving school simulator apk<br />
|
40 |
-
dirt bike driving school simulator apk<br />
|
41 |
-
boat driving school simulator apk<br />
|
42 |
-
jet ski driving school simulator apk<br />
|
43 |
-
yacht driving school simulator apk<br />
|
44 |
-
train driving school simulator apk<br />
|
45 |
-
subway driving school simulator apk<br />
|
46 |
-
plane driving school simulator apk<br />
|
47 |
-
helicopter driving school simulator apk<br />
|
48 |
-
drone driving school simulator apk<br />
|
49 |
-
flying car driving school simulator apk<br />
|
50 |
-
taxi driving school simulator apk<br />
|
51 |
-
police car driving school simulator apk<br />
|
52 |
-
ambulance driving school simulator apk<br />
|
53 |
-
fire truck driving school simulator apk<br />
|
54 |
-
garbage truck driving school simulator apk<br />
|
55 |
-
tow truck driving school simulator apk<br />
|
56 |
-
monster truck driving school simulator apk<br />
|
57 |
-
tractor driving school simulator apk<br />
|
58 |
-
forklift driving school simulator apk<br />
|
59 |
-
crane driving school simulator apk<br />
|
60 |
-
excavator driving school simulator apk<br />
|
61 |
-
bulldozer driving school simulator apk<br />
|
62 |
-
snow plow truck driving school simulator apk<br />
|
63 |
-
limo car driving school simulator apk</p>
|
64 |
-
<h3>Stunning graphics and realistic physics</h3>
|
65 |
-
<p>Driving School Sim boasts stunning graphics that will make you feel like you're driving in real life. You can enjoy the detailed interiors of the vehicles, the realistic lighting effects, the dynamic weather conditions, and the day-night cycle. You can also experience the realistic physics of the vehicles, such as the weight distribution, the suspension system, the traction control, and the damage model.</p>
|
66 |
-
<h3>Online multiplayer and leaderboards</h3>
|
67 |
-
<p>Driving School Sim lets you play online with other players from around the world. You can join events, chat with friends, and compete for the best scores. You can also climb the leaderboards by completing missions, earning money, getting licenses, and performing stunts. You can also show off your vehicles and customization options to other players.</p>
|
68 |
-
<h2>How to download and install Driving School Sim APK</h2>
|
69 |
-
<h3>Requirements and compatibility</h3>
|
70 |
-
<p>To download and install Driving School Sim APK on your Android device, you need to have at least 4 GB of free storage space and Android 5.0 or higher. The game is compatible with most Android devices, such as Samsung, Huawei, Xiaomi, LG, Motorola, and more. However, some devices may not support the game or may experience performance issues.</p>
|
71 |
-
<h3>Steps to download and install the APK file</h3>
|
72 |
-
<p>To download and install Driving School Sim APK on your Android device, you need to follow these steps:</p>
|
73 |
-
<ol>
|
74 |
-
<li>Go to the official website of Driving School Sim and click on the download button. You can also use this link: [Driving School Sim APK Download].</li>
|
75 |
-
<li>Wait for the download to finish and locate the APK file on your device. You may need to use a file manager app to find it.</li>
|
76 |
-
<li>Before you install the APK file, you need to enable the installation of apps from unknown sources on your device. To do this, go to Settings > Security > Unknown Sources and toggle it on.</li>
|
77 |
-
<li>Tap on the APK file and follow the instructions to install the game. You may need to grant some permissions to the game.</li>
|
78 |
-
<li>Once the installation is complete, you can launch the game from your app drawer or home screen.</li>
|
79 |
-
</ol>
|
80 |
-
<h3>Tips to avoid malware and viruses</h3>
|
81 |
-
<p>While downloading and installing Driving School Sim APK is safe and easy, you should always be careful when downloading any APK file from the internet. Here are some tips to avoid malware and viruses:</p>
|
82 |
-
<ul>
|
83 |
-
<li>Only download APK files from trusted and reputable sources, such as the official website of the game or a verified third-party site.</li>
|
84 |
-
<li>Scan the APK file with an antivirus app before you install it. You can use apps like Malwarebytes, AVG, or Avast to scan your files.</li>
|
85 |
-
<li>Do not click on any suspicious links or pop-ups that may appear during the download or installation process. They may contain malware or phishing attempts.</li>
|
86 |
-
<li>Do not install any other apps or files that may come with the APK file. They may be unwanted or harmful to your device.</li>
|
87 |
-
</ul>
|
88 |
-
<h2>Conclusion</h2>
|
89 |
-
<h4>Summary of the main points</h4>
|
90 |
-
<p>In conclusion, Driving School Sim is a fun and realistic driving game for Android devices that lets you drive over 150 vehicles in different environments and modes. You can also customize your vehicles, improve your driving skills, play online with other players, and more. The game has stunning graphics and realistic physics that will make you feel like you're driving in real life.</p>
|
91 |
-
<h4>Call to action and recommendation</h4>
|
92 |
-
<p>If you're looking for a driving game that offers both entertainment and education, then you should definitely download Driving School Sim APK today. You can enjoy hours of driving fun without spending a dime. You can also share your driving experience with your friends and family by taking screenshots and videos of your gameplay. So what are you waiting for? Download Driving School Sim APK now and start your driving adventure!</p>
|
93 |
-
<h2>Frequently Asked Questions</h2>
|
94 |
-
<ol>
|
95 |
-
<li><b>What is Driving School Sim?</b></li>
|
96 |
-
<p>Driving School Sim is an awesome driving game that lets you experience what it's like to drive some of the most high-power vehicles on today's market. You can choose from over 150 cars, trucks, buses, motorcycles, and more, and drive them in different environments, such as cities, highways, deserts, mountains, and snow.</p>
|
97 |
-
<li><b>How do I download Driving School Sim APK?</b></li>
|
98 |
-
<p>To download Driving School Sim APK on your Android device, you need to go to the official website of Driving School Sim and click on the download button. You can also use this link: [Driving School Sim APK Download]. Then, you need to locate the APK file on your device and enable the installation of apps from unknown sources. After that, you can tap on the APK file and follow the instructions to install the game.</p>
|
99 |
-
<li><b>Is Driving School Sim free?</b></li>
|
100 |
-
<p>Yes, Driving School Sim is free to download and play. However, some features and items may require in-app purchases or watching ads.</p>
|
101 |
-
<li><b>Is Driving School Sim safe?</b></li>
|
102 |
-
<p>Yes, Driving School Sim is safe to download and play. The game does not contain any malware or viruses. However, you should always be careful when downloading any APK file from the internet and only use trusted sources.</p>
|
103 |
-
<li><b>Can I play Driving School Sim offline?</b></li>
|
104 |
-
<p>Yes, you can play Driving School Sim offline without an internet connection. However, some features and modes may require an online connection, such as multiplayer mode, events, leaderboards, etc.</p>
|
105 |
-
</ol>
|
106 |
-
<p>Thank you for reading this article. I hope you found it helpful and informative. If you have any questions or feedback, please feel free to leave a comment below. I would love to hear from you. Happy driving!</p> 401be4b1e0<br />
|
107 |
-
<br />
|
108 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIGC-Audio/AudioGPT/NeuralSeq/tasks/tts/fs2_adv.py
DELETED
@@ -1,129 +0,0 @@
|
|
1 |
-
from tasks.tts.fs2 import FastSpeech2Task
|
2 |
-
from modules.syntaspeech.multi_window_disc import Discriminator
|
3 |
-
from utils.hparams import hparams
|
4 |
-
from torch import nn
|
5 |
-
import torch
|
6 |
-
import torch.optim
|
7 |
-
import torch.utils.data
|
8 |
-
import utils
|
9 |
-
|
10 |
-
|
11 |
-
class FastSpeech2AdvTask(FastSpeech2Task):
|
12 |
-
def build_model(self):
|
13 |
-
self.build_tts_model()
|
14 |
-
if hparams['load_ckpt'] != '':
|
15 |
-
self.load_ckpt(hparams['load_ckpt'], strict=False)
|
16 |
-
utils.print_arch(self.model, 'Generator')
|
17 |
-
self.build_disc_model()
|
18 |
-
if not hasattr(self, 'gen_params'):
|
19 |
-
self.gen_params = list(self.model.parameters())
|
20 |
-
return self.model
|
21 |
-
|
22 |
-
def build_disc_model(self):
|
23 |
-
disc_win_num = hparams['disc_win_num']
|
24 |
-
h = hparams['mel_disc_hidden_size']
|
25 |
-
self.mel_disc = Discriminator(
|
26 |
-
time_lengths=[32, 64, 128][:disc_win_num],
|
27 |
-
freq_length=80, hidden_size=h, kernel=(3, 3)
|
28 |
-
)
|
29 |
-
self.disc_params = list(self.mel_disc.parameters())
|
30 |
-
utils.print_arch(self.mel_disc, model_name='Mel Disc')
|
31 |
-
|
32 |
-
def _training_step(self, sample, batch_idx, optimizer_idx):
|
33 |
-
log_outputs = {}
|
34 |
-
loss_weights = {}
|
35 |
-
disc_start = hparams['mel_gan'] and self.global_step >= hparams["disc_start_steps"] and \
|
36 |
-
hparams['lambda_mel_adv'] > 0
|
37 |
-
if optimizer_idx == 0:
|
38 |
-
#######################
|
39 |
-
# Generator #
|
40 |
-
#######################
|
41 |
-
log_outputs, model_out = self.run_model(self.model, sample, return_output=True)
|
42 |
-
self.model_out = {k: v.detach() for k, v in model_out.items() if isinstance(v, torch.Tensor)}
|
43 |
-
if disc_start:
|
44 |
-
self.disc_cond = disc_cond = self.model_out['decoder_inp'].detach() \
|
45 |
-
if hparams['use_cond_disc'] else None
|
46 |
-
if hparams['mel_loss_no_noise']:
|
47 |
-
self.add_mel_loss(model_out['mel_out_nonoise'], sample['mels'], log_outputs)
|
48 |
-
mel_p = model_out['mel_out']
|
49 |
-
if hasattr(self.model, 'out2mel'):
|
50 |
-
mel_p = self.model.out2mel(mel_p)
|
51 |
-
o_ = self.mel_disc(mel_p, disc_cond)
|
52 |
-
p_, pc_ = o_['y'], o_['y_c']
|
53 |
-
|
54 |
-
if p_ is not None:
|
55 |
-
log_outputs['a'] = self.mse_loss_fn(p_, p_.new_ones(p_.size()))
|
56 |
-
loss_weights['a'] = hparams['lambda_mel_adv']
|
57 |
-
if pc_ is not None:
|
58 |
-
log_outputs['ac'] = self.mse_loss_fn(pc_, pc_.new_ones(pc_.size()))
|
59 |
-
loss_weights['ac'] = hparams['lambda_mel_adv']
|
60 |
-
else:
|
61 |
-
#######################
|
62 |
-
# Discriminator #
|
63 |
-
#######################
|
64 |
-
if disc_start and self.global_step % hparams['disc_interval'] == 0:
|
65 |
-
if hparams['rerun_gen']:
|
66 |
-
with torch.no_grad():
|
67 |
-
_, model_out = self.run_model(self.model, sample, return_output=True)
|
68 |
-
else:
|
69 |
-
model_out = self.model_out
|
70 |
-
mel_g = sample['mels']
|
71 |
-
mel_p = model_out['mel_out']
|
72 |
-
if hasattr(self.model, 'out2mel'):
|
73 |
-
mel_p = self.model.out2mel(mel_p)
|
74 |
-
|
75 |
-
o = self.mel_disc(mel_g, self.disc_cond)
|
76 |
-
p, pc = o['y'], o['y_c']
|
77 |
-
o_ = self.mel_disc(mel_p, self.disc_cond)
|
78 |
-
p_, pc_ = o_['y'], o_['y_c']
|
79 |
-
|
80 |
-
if p_ is not None:
|
81 |
-
log_outputs["r"] = self.mse_loss_fn(p, p.new_ones(p.size()))
|
82 |
-
log_outputs["f"] = self.mse_loss_fn(p_, p_.new_zeros(p_.size()))
|
83 |
-
|
84 |
-
if pc_ is not None:
|
85 |
-
log_outputs["rc"] = self.mse_loss_fn(pc, pc.new_ones(pc.size()))
|
86 |
-
log_outputs["fc"] = self.mse_loss_fn(pc_, pc_.new_zeros(pc_.size()))
|
87 |
-
|
88 |
-
if len(log_outputs) == 0:
|
89 |
-
return None
|
90 |
-
total_loss = sum([loss_weights.get(k, 1) * v for k, v in log_outputs.items()])
|
91 |
-
|
92 |
-
log_outputs['bs'] = sample['mels'].shape[0]
|
93 |
-
return total_loss, log_outputs
|
94 |
-
|
95 |
-
def configure_optimizers(self):
|
96 |
-
if not hasattr(self, 'gen_params'):
|
97 |
-
self.gen_params = list(self.model.parameters())
|
98 |
-
optimizer_gen = torch.optim.AdamW(
|
99 |
-
self.gen_params,
|
100 |
-
lr=hparams['lr'],
|
101 |
-
betas=(hparams['optimizer_adam_beta1'], hparams['optimizer_adam_beta2']),
|
102 |
-
weight_decay=hparams['weight_decay'])
|
103 |
-
optimizer_disc = torch.optim.AdamW(
|
104 |
-
self.disc_params,
|
105 |
-
lr=hparams['disc_lr'],
|
106 |
-
betas=(hparams['optimizer_adam_beta1'], hparams['optimizer_adam_beta2']),
|
107 |
-
**hparams["discriminator_optimizer_params"]) if len(self.disc_params) > 0 else None
|
108 |
-
self.scheduler = self.build_scheduler({'gen': optimizer_gen, 'disc': optimizer_disc})
|
109 |
-
return [optimizer_gen, optimizer_disc]
|
110 |
-
|
111 |
-
def build_scheduler(self, optimizer):
|
112 |
-
return {
|
113 |
-
"gen": super().build_scheduler(optimizer['gen']),
|
114 |
-
"disc": torch.optim.lr_scheduler.StepLR(
|
115 |
-
optimizer=optimizer["disc"],
|
116 |
-
**hparams["discriminator_scheduler_params"]) if optimizer["disc"] is not None else None,
|
117 |
-
}
|
118 |
-
|
119 |
-
def on_before_optimization(self, opt_idx):
|
120 |
-
if opt_idx == 0:
|
121 |
-
nn.utils.clip_grad_norm_(self.gen_params, hparams['generator_grad_norm'])
|
122 |
-
else:
|
123 |
-
nn.utils.clip_grad_norm_(self.disc_params, hparams["discriminator_grad_norm"])
|
124 |
-
|
125 |
-
def on_after_optimization(self, epoch, batch_idx, optimizer, optimizer_idx):
|
126 |
-
if optimizer_idx == 0:
|
127 |
-
self.scheduler['gen'].step(self.global_step)
|
128 |
-
else:
|
129 |
-
self.scheduler['disc'].step(max(self.global_step - hparams["disc_start_steps"], 1))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIGC-Audio/AudioGPT/text_to_audio/Make_An_Audio/vocoder/bigvgan/alias_free_torch/resample.py
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
# Adapted from https://github.com/junjun3518/alias-free-torch under the Apache License 2.0
|
2 |
-
# LICENSE is in incl_licenses directory.
|
3 |
-
|
4 |
-
import torch.nn as nn
|
5 |
-
from torch.nn import functional as F
|
6 |
-
from .filter import LowPassFilter1d
|
7 |
-
from .filter import kaiser_sinc_filter1d
|
8 |
-
|
9 |
-
|
10 |
-
class UpSample1d(nn.Module):
|
11 |
-
def __init__(self, ratio=2, kernel_size=None):
|
12 |
-
super().__init__()
|
13 |
-
self.ratio = ratio
|
14 |
-
self.kernel_size = int(6 * ratio // 2) * 2 if kernel_size is None else kernel_size
|
15 |
-
self.stride = ratio
|
16 |
-
self.pad = self.kernel_size // ratio - 1
|
17 |
-
self.pad_left = self.pad * self.stride + (self.kernel_size - self.stride) // 2
|
18 |
-
self.pad_right = self.pad * self.stride + (self.kernel_size - self.stride + 1) // 2
|
19 |
-
filter = kaiser_sinc_filter1d(cutoff=0.5 / ratio,
|
20 |
-
half_width=0.6 / ratio,
|
21 |
-
kernel_size=self.kernel_size)
|
22 |
-
self.register_buffer("filter", filter)
|
23 |
-
|
24 |
-
# x: [B, C, T]
|
25 |
-
def forward(self, x):
|
26 |
-
_, C, _ = x.shape
|
27 |
-
|
28 |
-
x = F.pad(x, (self.pad, self.pad), mode='replicate')
|
29 |
-
x = self.ratio * F.conv_transpose1d(
|
30 |
-
x, self.filter.expand(C, -1, -1), stride=self.stride, groups=C)
|
31 |
-
x = x[..., self.pad_left:-self.pad_right]
|
32 |
-
|
33 |
-
return x
|
34 |
-
|
35 |
-
|
36 |
-
class DownSample1d(nn.Module):
|
37 |
-
def __init__(self, ratio=2, kernel_size=None):
|
38 |
-
super().__init__()
|
39 |
-
self.ratio = ratio
|
40 |
-
self.kernel_size = int(6 * ratio // 2) * 2 if kernel_size is None else kernel_size
|
41 |
-
self.lowpass = LowPassFilter1d(cutoff=0.5 / ratio,
|
42 |
-
half_width=0.6 / ratio,
|
43 |
-
stride=ratio,
|
44 |
-
kernel_size=self.kernel_size)
|
45 |
-
|
46 |
-
def forward(self, x):
|
47 |
-
xx = self.lowpass(x)
|
48 |
-
|
49 |
-
return xx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIGC-Audio/AudioGPT/text_to_speech/data_gen/tts/txt_processors/base_text_processor.py
DELETED
@@ -1,50 +0,0 @@
|
|
1 |
-
from text_to_speech.utils.text.text_encoder import is_sil_phoneme
|
2 |
-
|
3 |
-
REGISTERED_TEXT_PROCESSORS = {}
|
4 |
-
|
5 |
-
|
6 |
-
def register_txt_processors(name):
|
7 |
-
def _f(cls):
|
8 |
-
REGISTERED_TEXT_PROCESSORS[name] = cls
|
9 |
-
return cls
|
10 |
-
|
11 |
-
return _f
|
12 |
-
|
13 |
-
|
14 |
-
def get_txt_processor_cls(name):
|
15 |
-
return REGISTERED_TEXT_PROCESSORS.get(name, None)
|
16 |
-
|
17 |
-
|
18 |
-
class BaseTxtProcessor:
|
19 |
-
@staticmethod
|
20 |
-
def sp_phonemes():
|
21 |
-
return ['|']
|
22 |
-
|
23 |
-
@classmethod
|
24 |
-
def process(cls, txt, preprocess_args):
|
25 |
-
raise NotImplementedError
|
26 |
-
|
27 |
-
@classmethod
|
28 |
-
def postprocess(cls, txt_struct, preprocess_args):
|
29 |
-
# remove sil phoneme in head and tail
|
30 |
-
while len(txt_struct) > 0 and is_sil_phoneme(txt_struct[0][0]):
|
31 |
-
txt_struct = txt_struct[1:]
|
32 |
-
while len(txt_struct) > 0 and is_sil_phoneme(txt_struct[-1][0]):
|
33 |
-
txt_struct = txt_struct[:-1]
|
34 |
-
if preprocess_args['with_phsep']:
|
35 |
-
txt_struct = cls.add_bdr(txt_struct)
|
36 |
-
if preprocess_args['add_eos_bos']:
|
37 |
-
txt_struct = [["<BOS>", ["<BOS>"]]] + txt_struct + [["<EOS>", ["<EOS>"]]]
|
38 |
-
return txt_struct
|
39 |
-
|
40 |
-
@classmethod
|
41 |
-
def add_bdr(cls, txt_struct):
|
42 |
-
txt_struct_ = []
|
43 |
-
for i, ts in enumerate(txt_struct):
|
44 |
-
txt_struct_.append(ts)
|
45 |
-
if i != len(txt_struct) - 1 and \
|
46 |
-
not is_sil_phoneme(txt_struct[i][0]) and not is_sil_phoneme(txt_struct[i + 1][0]):
|
47 |
-
# txt_struct_.append(['|', ['|']])
|
48 |
-
# We disbale the sep token because it is imcompatible with syntactic graph.
|
49 |
-
pass
|
50 |
-
return txt_struct_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIGC-Audio/Make_An_Audio/ldm/modules/encoders/open_clap/bert.py
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
from transformers import BertTokenizer, BertModel
|
2 |
-
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
|
3 |
-
model = BertModel.from_pretrained("bert-base-uncased")
|
4 |
-
text = "Replace me by any text you'd like."
|
5 |
-
|
6 |
-
def bert_embeddings(text):
|
7 |
-
# text = "Replace me by any text you'd like."
|
8 |
-
encoded_input = tokenizer(text, return_tensors='pt')
|
9 |
-
output = model(**encoded_input)
|
10 |
-
return output
|
11 |
-
|
12 |
-
from transformers import RobertaTokenizer, RobertaModel
|
13 |
-
|
14 |
-
tokenizer = RobertaTokenizer.from_pretrained('roberta-base')
|
15 |
-
model = RobertaModel.from_pretrained('roberta-base')
|
16 |
-
text = "Replace me by any text you'd like."
|
17 |
-
def Roberta_embeddings(text):
|
18 |
-
# text = "Replace me by any text you'd like."
|
19 |
-
encoded_input = tokenizer(text, return_tensors='pt')
|
20 |
-
output = model(**encoded_input)
|
21 |
-
return output
|
22 |
-
|
23 |
-
from transformers import BartTokenizer, BartModel
|
24 |
-
|
25 |
-
tokenizer = BartTokenizer.from_pretrained('facebook/bart-base')
|
26 |
-
model = BartModel.from_pretrained('facebook/bart-base')
|
27 |
-
text = "Replace me by any text you'd like."
|
28 |
-
def bart_embeddings(text):
|
29 |
-
# text = "Replace me by any text you'd like."
|
30 |
-
encoded_input = tokenizer(text, return_tensors='pt')
|
31 |
-
output = model(**encoded_input)
|
32 |
-
return output
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AIWaves/SOP_Generation-single/evolve.py
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
# coding=utf-8
|
2 |
-
# Copyright 2023 The AIWaves Inc. team.
|
3 |
-
|
4 |
-
#
|
5 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6 |
-
# you may not use this file except in compliance with the License.
|
7 |
-
# You may obtain a copy of the License at
|
8 |
-
#
|
9 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10 |
-
#
|
11 |
-
# Unless required by applicable law or agreed to in writing, software
|
12 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14 |
-
# See the License for the specific language governing permissions and
|
15 |
-
# limitations under the License.
|
16 |
-
|
17 |
-
"""self evolution of an LLM autonoumous agent"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AchyuthGamer/OpenGPT/g4f/Provider/retry_provider.py
DELETED
@@ -1,88 +0,0 @@
|
|
1 |
-
from __future__ import annotations
|
2 |
-
|
3 |
-
import random
|
4 |
-
from typing import List, Type, Dict
|
5 |
-
from ..typing import CreateResult
|
6 |
-
from .base_provider import BaseProvider, AsyncProvider
|
7 |
-
from ..debug import logging
|
8 |
-
|
9 |
-
|
10 |
-
class RetryProvider(AsyncProvider):
|
11 |
-
__name__: str = "RetryProvider"
|
12 |
-
working: bool = True
|
13 |
-
needs_auth: bool = False
|
14 |
-
supports_stream: bool = True
|
15 |
-
supports_gpt_35_turbo: bool = False
|
16 |
-
supports_gpt_4: bool = False
|
17 |
-
|
18 |
-
def __init__(
|
19 |
-
self,
|
20 |
-
providers: List[Type[BaseProvider]],
|
21 |
-
shuffle: bool = True
|
22 |
-
) -> None:
|
23 |
-
self.providers: List[Type[BaseProvider]] = providers
|
24 |
-
self.shuffle: bool = shuffle
|
25 |
-
|
26 |
-
|
27 |
-
def create_completion(
|
28 |
-
self,
|
29 |
-
model: str,
|
30 |
-
messages: List[Dict[str, str]],
|
31 |
-
stream: bool = False,
|
32 |
-
**kwargs
|
33 |
-
) -> CreateResult:
|
34 |
-
if stream:
|
35 |
-
providers = [provider for provider in self.providers if provider.supports_stream]
|
36 |
-
else:
|
37 |
-
providers = self.providers
|
38 |
-
if self.shuffle:
|
39 |
-
random.shuffle(providers)
|
40 |
-
|
41 |
-
self.exceptions: Dict[str, Exception] = {}
|
42 |
-
started: bool = False
|
43 |
-
for provider in providers:
|
44 |
-
try:
|
45 |
-
if logging:
|
46 |
-
print(f"Using {provider.__name__} provider")
|
47 |
-
for token in provider.create_completion(model, messages, stream, **kwargs):
|
48 |
-
yield token
|
49 |
-
started = True
|
50 |
-
if started:
|
51 |
-
return
|
52 |
-
except Exception as e:
|
53 |
-
self.exceptions[provider.__name__] = e
|
54 |
-
if logging:
|
55 |
-
print(f"{provider.__name__}: {e.__class__.__name__}: {e}")
|
56 |
-
if started:
|
57 |
-
break
|
58 |
-
|
59 |
-
self.raise_exceptions()
|
60 |
-
|
61 |
-
async def create_async(
|
62 |
-
self,
|
63 |
-
model: str,
|
64 |
-
messages: List[Dict[str, str]],
|
65 |
-
**kwargs
|
66 |
-
) -> str:
|
67 |
-
providers = [provider for provider in self.providers]
|
68 |
-
if self.shuffle:
|
69 |
-
random.shuffle(providers)
|
70 |
-
|
71 |
-
self.exceptions: Dict[str, Exception] = {}
|
72 |
-
for provider in providers:
|
73 |
-
try:
|
74 |
-
return await provider.create_async(model, messages, **kwargs)
|
75 |
-
except Exception as e:
|
76 |
-
self.exceptions[provider.__name__] = e
|
77 |
-
if logging:
|
78 |
-
print(f"{provider.__name__}: {e.__class__.__name__}: {e}")
|
79 |
-
|
80 |
-
self.raise_exceptions()
|
81 |
-
|
82 |
-
def raise_exceptions(self) -> None:
|
83 |
-
if self.exceptions:
|
84 |
-
raise RuntimeError("\n".join(["All providers failed:"] + [
|
85 |
-
f"{p}: {self.exceptions[p].__class__.__name__}: {self.exceptions[p]}" for p in self.exceptions
|
86 |
-
]))
|
87 |
-
|
88 |
-
raise RuntimeError("No provider found")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/agentverse_command/main_simulation_cli.py
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import logging
|
3 |
-
from argparse import ArgumentParser
|
4 |
-
|
5 |
-
from agentverse.logging import logger
|
6 |
-
from agentverse.simulation import Simulation
|
7 |
-
|
8 |
-
parser = ArgumentParser()
|
9 |
-
parser.add_argument("--task", type=str, default="simulation/prisoner_dilemma")
|
10 |
-
parser.add_argument(
|
11 |
-
"--tasks_dir",
|
12 |
-
type=str,
|
13 |
-
default=os.path.join(os.path.dirname(__file__), "..", "agentverse", "tasks"),
|
14 |
-
)
|
15 |
-
parser.add_argument("--debug", action="store_true")
|
16 |
-
args = parser.parse_args()
|
17 |
-
|
18 |
-
logger.set_level(logging.DEBUG if args.debug else logging.INFO)
|
19 |
-
|
20 |
-
|
21 |
-
def cli_main():
|
22 |
-
agentverse = Simulation.from_task(args.task, args.tasks_dir)
|
23 |
-
agentverse.run()
|
24 |
-
|
25 |
-
|
26 |
-
if __name__ == "__main__":
|
27 |
-
cli_main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/raycaster.js
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
import Raycaster from './math/raycaster/Raycaster.js';
|
2 |
-
export default Raycaster;
|
|
|
|
|
|
spaces/AhmedTambal/malaria/README.md
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Malaria
|
3 |
-
emoji: 🏢
|
4 |
-
colorFrom: red
|
5 |
-
colorTo: indigo
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 3.10.1
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
license: bigscience-openrail-m
|
11 |
-
---
|
12 |
-
|
13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Akmyradov/TurkmenTTSweSTT/vits/train.py
DELETED
@@ -1,290 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import json
|
3 |
-
import argparse
|
4 |
-
import itertools
|
5 |
-
import math
|
6 |
-
import torch
|
7 |
-
from torch import nn, optim
|
8 |
-
from torch.nn import functional as F
|
9 |
-
from torch.utils.data import DataLoader
|
10 |
-
from torch.utils.tensorboard import SummaryWriter
|
11 |
-
import torch.multiprocessing as mp
|
12 |
-
import torch.distributed as dist
|
13 |
-
from torch.nn.parallel import DistributedDataParallel as DDP
|
14 |
-
from torch.cuda.amp import autocast, GradScaler
|
15 |
-
|
16 |
-
import commons
|
17 |
-
import utils
|
18 |
-
from data_utils import (
|
19 |
-
TextAudioLoader,
|
20 |
-
TextAudioCollate,
|
21 |
-
DistributedBucketSampler
|
22 |
-
)
|
23 |
-
from models import (
|
24 |
-
SynthesizerTrn,
|
25 |
-
MultiPeriodDiscriminator,
|
26 |
-
)
|
27 |
-
from losses import (
|
28 |
-
generator_loss,
|
29 |
-
discriminator_loss,
|
30 |
-
feature_loss,
|
31 |
-
kl_loss
|
32 |
-
)
|
33 |
-
from mel_processing import mel_spectrogram_torch, spec_to_mel_torch
|
34 |
-
from text.symbols import symbols
|
35 |
-
|
36 |
-
|
37 |
-
torch.backends.cudnn.benchmark = True
|
38 |
-
global_step = 0
|
39 |
-
|
40 |
-
|
41 |
-
def main():
|
42 |
-
"""Assume Single Node Multi GPUs Training Only"""
|
43 |
-
assert torch.cuda.is_available(), "CPU training is not allowed."
|
44 |
-
|
45 |
-
n_gpus = torch.cuda.device_count()
|
46 |
-
os.environ['MASTER_ADDR'] = 'localhost'
|
47 |
-
os.environ['MASTER_PORT'] = '80000'
|
48 |
-
|
49 |
-
hps = utils.get_hparams()
|
50 |
-
mp.spawn(run, nprocs=n_gpus, args=(n_gpus, hps,))
|
51 |
-
|
52 |
-
|
53 |
-
def run(rank, n_gpus, hps):
|
54 |
-
global global_step
|
55 |
-
if rank == 0:
|
56 |
-
logger = utils.get_logger(hps.model_dir)
|
57 |
-
logger.info(hps)
|
58 |
-
utils.check_git_hash(hps.model_dir)
|
59 |
-
writer = SummaryWriter(log_dir=hps.model_dir)
|
60 |
-
writer_eval = SummaryWriter(log_dir=os.path.join(hps.model_dir, "eval"))
|
61 |
-
|
62 |
-
dist.init_process_group(backend='nccl', init_method='env://', world_size=n_gpus, rank=rank)
|
63 |
-
torch.manual_seed(hps.train.seed)
|
64 |
-
torch.cuda.set_device(rank)
|
65 |
-
|
66 |
-
train_dataset = TextAudioLoader(hps.data.training_files, hps.data)
|
67 |
-
train_sampler = DistributedBucketSampler(
|
68 |
-
train_dataset,
|
69 |
-
hps.train.batch_size,
|
70 |
-
[32,300,400,500,600,700,800,900,1000],
|
71 |
-
num_replicas=n_gpus,
|
72 |
-
rank=rank,
|
73 |
-
shuffle=True)
|
74 |
-
collate_fn = TextAudioCollate()
|
75 |
-
train_loader = DataLoader(train_dataset, num_workers=8, shuffle=False, pin_memory=True,
|
76 |
-
collate_fn=collate_fn, batch_sampler=train_sampler)
|
77 |
-
if rank == 0:
|
78 |
-
eval_dataset = TextAudioLoader(hps.data.validation_files, hps.data)
|
79 |
-
eval_loader = DataLoader(eval_dataset, num_workers=8, shuffle=False,
|
80 |
-
batch_size=hps.train.batch_size, pin_memory=True,
|
81 |
-
drop_last=False, collate_fn=collate_fn)
|
82 |
-
|
83 |
-
net_g = SynthesizerTrn(
|
84 |
-
len(symbols),
|
85 |
-
hps.data.filter_length // 2 + 1,
|
86 |
-
hps.train.segment_size // hps.data.hop_length,
|
87 |
-
**hps.model).cuda(rank)
|
88 |
-
net_d = MultiPeriodDiscriminator(hps.model.use_spectral_norm).cuda(rank)
|
89 |
-
optim_g = torch.optim.AdamW(
|
90 |
-
net_g.parameters(),
|
91 |
-
hps.train.learning_rate,
|
92 |
-
betas=hps.train.betas,
|
93 |
-
eps=hps.train.eps)
|
94 |
-
optim_d = torch.optim.AdamW(
|
95 |
-
net_d.parameters(),
|
96 |
-
hps.train.learning_rate,
|
97 |
-
betas=hps.train.betas,
|
98 |
-
eps=hps.train.eps)
|
99 |
-
net_g = DDP(net_g, device_ids=[rank])
|
100 |
-
net_d = DDP(net_d, device_ids=[rank])
|
101 |
-
|
102 |
-
try:
|
103 |
-
_, _, _, epoch_str = utils.load_checkpoint(utils.latest_checkpoint_path(hps.model_dir, "G_*.pth"), net_g, optim_g)
|
104 |
-
_, _, _, epoch_str = utils.load_checkpoint(utils.latest_checkpoint_path(hps.model_dir, "D_*.pth"), net_d, optim_d)
|
105 |
-
global_step = (epoch_str - 1) * len(train_loader)
|
106 |
-
except:
|
107 |
-
epoch_str = 1
|
108 |
-
global_step = 0
|
109 |
-
|
110 |
-
scheduler_g = torch.optim.lr_scheduler.ExponentialLR(optim_g, gamma=hps.train.lr_decay, last_epoch=epoch_str-2)
|
111 |
-
scheduler_d = torch.optim.lr_scheduler.ExponentialLR(optim_d, gamma=hps.train.lr_decay, last_epoch=epoch_str-2)
|
112 |
-
|
113 |
-
scaler = GradScaler(enabled=hps.train.fp16_run)
|
114 |
-
|
115 |
-
for epoch in range(epoch_str, hps.train.epochs + 1):
|
116 |
-
if rank==0:
|
117 |
-
train_and_evaluate(rank, epoch, hps, [net_g, net_d], [optim_g, optim_d], [scheduler_g, scheduler_d], scaler, [train_loader, eval_loader], logger, [writer, writer_eval])
|
118 |
-
else:
|
119 |
-
train_and_evaluate(rank, epoch, hps, [net_g, net_d], [optim_g, optim_d], [scheduler_g, scheduler_d], scaler, [train_loader, None], None, None)
|
120 |
-
scheduler_g.step()
|
121 |
-
scheduler_d.step()
|
122 |
-
|
123 |
-
|
124 |
-
def train_and_evaluate(rank, epoch, hps, nets, optims, schedulers, scaler, loaders, logger, writers):
|
125 |
-
net_g, net_d = nets
|
126 |
-
optim_g, optim_d = optims
|
127 |
-
scheduler_g, scheduler_d = schedulers
|
128 |
-
train_loader, eval_loader = loaders
|
129 |
-
if writers is not None:
|
130 |
-
writer, writer_eval = writers
|
131 |
-
|
132 |
-
train_loader.batch_sampler.set_epoch(epoch)
|
133 |
-
global global_step
|
134 |
-
|
135 |
-
net_g.train()
|
136 |
-
net_d.train()
|
137 |
-
for batch_idx, (x, x_lengths, spec, spec_lengths, y, y_lengths) in enumerate(train_loader):
|
138 |
-
x, x_lengths = x.cuda(rank, non_blocking=True), x_lengths.cuda(rank, non_blocking=True)
|
139 |
-
spec, spec_lengths = spec.cuda(rank, non_blocking=True), spec_lengths.cuda(rank, non_blocking=True)
|
140 |
-
y, y_lengths = y.cuda(rank, non_blocking=True), y_lengths.cuda(rank, non_blocking=True)
|
141 |
-
|
142 |
-
with autocast(enabled=hps.train.fp16_run):
|
143 |
-
y_hat, l_length, attn, ids_slice, x_mask, z_mask,\
|
144 |
-
(z, z_p, m_p, logs_p, m_q, logs_q) = net_g(x, x_lengths, spec, spec_lengths)
|
145 |
-
|
146 |
-
mel = spec_to_mel_torch(
|
147 |
-
spec,
|
148 |
-
hps.data.filter_length,
|
149 |
-
hps.data.n_mel_channels,
|
150 |
-
hps.data.sampling_rate,
|
151 |
-
hps.data.mel_fmin,
|
152 |
-
hps.data.mel_fmax)
|
153 |
-
y_mel = commons.slice_segments(mel, ids_slice, hps.train.segment_size // hps.data.hop_length)
|
154 |
-
y_hat_mel = mel_spectrogram_torch(
|
155 |
-
y_hat.squeeze(1),
|
156 |
-
hps.data.filter_length,
|
157 |
-
hps.data.n_mel_channels,
|
158 |
-
hps.data.sampling_rate,
|
159 |
-
hps.data.hop_length,
|
160 |
-
hps.data.win_length,
|
161 |
-
hps.data.mel_fmin,
|
162 |
-
hps.data.mel_fmax
|
163 |
-
)
|
164 |
-
|
165 |
-
y = commons.slice_segments(y, ids_slice * hps.data.hop_length, hps.train.segment_size) # slice
|
166 |
-
|
167 |
-
# Discriminator
|
168 |
-
y_d_hat_r, y_d_hat_g, _, _ = net_d(y, y_hat.detach())
|
169 |
-
with autocast(enabled=False):
|
170 |
-
loss_disc, losses_disc_r, losses_disc_g = discriminator_loss(y_d_hat_r, y_d_hat_g)
|
171 |
-
loss_disc_all = loss_disc
|
172 |
-
optim_d.zero_grad()
|
173 |
-
scaler.scale(loss_disc_all).backward()
|
174 |
-
scaler.unscale_(optim_d)
|
175 |
-
grad_norm_d = commons.clip_grad_value_(net_d.parameters(), None)
|
176 |
-
scaler.step(optim_d)
|
177 |
-
|
178 |
-
with autocast(enabled=hps.train.fp16_run):
|
179 |
-
# Generator
|
180 |
-
y_d_hat_r, y_d_hat_g, fmap_r, fmap_g = net_d(y, y_hat)
|
181 |
-
with autocast(enabled=False):
|
182 |
-
loss_dur = torch.sum(l_length.float())
|
183 |
-
loss_mel = F.l1_loss(y_mel, y_hat_mel) * hps.train.c_mel
|
184 |
-
loss_kl = kl_loss(z_p, logs_q, m_p, logs_p, z_mask) * hps.train.c_kl
|
185 |
-
|
186 |
-
loss_fm = feature_loss(fmap_r, fmap_g)
|
187 |
-
loss_gen, losses_gen = generator_loss(y_d_hat_g)
|
188 |
-
loss_gen_all = loss_gen + loss_fm + loss_mel + loss_dur + loss_kl
|
189 |
-
optim_g.zero_grad()
|
190 |
-
scaler.scale(loss_gen_all).backward()
|
191 |
-
scaler.unscale_(optim_g)
|
192 |
-
grad_norm_g = commons.clip_grad_value_(net_g.parameters(), None)
|
193 |
-
scaler.step(optim_g)
|
194 |
-
scaler.update()
|
195 |
-
|
196 |
-
if rank==0:
|
197 |
-
if global_step % hps.train.log_interval == 0:
|
198 |
-
lr = optim_g.param_groups[0]['lr']
|
199 |
-
losses = [loss_disc, loss_gen, loss_fm, loss_mel, loss_dur, loss_kl]
|
200 |
-
logger.info('Train Epoch: {} [{:.0f}%]'.format(
|
201 |
-
epoch,
|
202 |
-
100. * batch_idx / len(train_loader)))
|
203 |
-
logger.info([x.item() for x in losses] + [global_step, lr])
|
204 |
-
|
205 |
-
scalar_dict = {"loss/g/total": loss_gen_all, "loss/d/total": loss_disc_all, "learning_rate": lr, "grad_norm_d": grad_norm_d, "grad_norm_g": grad_norm_g}
|
206 |
-
scalar_dict.update({"loss/g/fm": loss_fm, "loss/g/mel": loss_mel, "loss/g/dur": loss_dur, "loss/g/kl": loss_kl})
|
207 |
-
|
208 |
-
scalar_dict.update({"loss/g/{}".format(i): v for i, v in enumerate(losses_gen)})
|
209 |
-
scalar_dict.update({"loss/d_r/{}".format(i): v for i, v in enumerate(losses_disc_r)})
|
210 |
-
scalar_dict.update({"loss/d_g/{}".format(i): v for i, v in enumerate(losses_disc_g)})
|
211 |
-
image_dict = {
|
212 |
-
"slice/mel_org": utils.plot_spectrogram_to_numpy(y_mel[0].data.cpu().numpy()),
|
213 |
-
"slice/mel_gen": utils.plot_spectrogram_to_numpy(y_hat_mel[0].data.cpu().numpy()),
|
214 |
-
"all/mel": utils.plot_spectrogram_to_numpy(mel[0].data.cpu().numpy()),
|
215 |
-
"all/attn": utils.plot_alignment_to_numpy(attn[0,0].data.cpu().numpy())
|
216 |
-
}
|
217 |
-
utils.summarize(
|
218 |
-
writer=writer,
|
219 |
-
global_step=global_step,
|
220 |
-
images=image_dict,
|
221 |
-
scalars=scalar_dict)
|
222 |
-
|
223 |
-
if global_step % hps.train.eval_interval == 0:
|
224 |
-
evaluate(hps, net_g, eval_loader, writer_eval)
|
225 |
-
utils.save_checkpoint(net_g, optim_g, hps.train.learning_rate, epoch, os.path.join(hps.model_dir, "G_{}.pth".format(global_step)))
|
226 |
-
utils.save_checkpoint(net_d, optim_d, hps.train.learning_rate, epoch, os.path.join(hps.model_dir, "D_{}.pth".format(global_step)))
|
227 |
-
global_step += 1
|
228 |
-
|
229 |
-
if rank == 0:
|
230 |
-
logger.info('====> Epoch: {}'.format(epoch))
|
231 |
-
|
232 |
-
|
233 |
-
def evaluate(hps, generator, eval_loader, writer_eval):
|
234 |
-
generator.eval()
|
235 |
-
with torch.no_grad():
|
236 |
-
for batch_idx, (x, x_lengths, spec, spec_lengths, y, y_lengths) in enumerate(eval_loader):
|
237 |
-
x, x_lengths = x.cuda(0), x_lengths.cuda(0)
|
238 |
-
spec, spec_lengths = spec.cuda(0), spec_lengths.cuda(0)
|
239 |
-
y, y_lengths = y.cuda(0), y_lengths.cuda(0)
|
240 |
-
|
241 |
-
# remove else
|
242 |
-
x = x[:1]
|
243 |
-
x_lengths = x_lengths[:1]
|
244 |
-
spec = spec[:1]
|
245 |
-
spec_lengths = spec_lengths[:1]
|
246 |
-
y = y[:1]
|
247 |
-
y_lengths = y_lengths[:1]
|
248 |
-
break
|
249 |
-
y_hat, attn, mask, *_ = generator.module.infer(x, x_lengths, max_len=1000)
|
250 |
-
y_hat_lengths = mask.sum([1,2]).long() * hps.data.hop_length
|
251 |
-
|
252 |
-
mel = spec_to_mel_torch(
|
253 |
-
spec,
|
254 |
-
hps.data.filter_length,
|
255 |
-
hps.data.n_mel_channels,
|
256 |
-
hps.data.sampling_rate,
|
257 |
-
hps.data.mel_fmin,
|
258 |
-
hps.data.mel_fmax)
|
259 |
-
y_hat_mel = mel_spectrogram_torch(
|
260 |
-
y_hat.squeeze(1).float(),
|
261 |
-
hps.data.filter_length,
|
262 |
-
hps.data.n_mel_channels,
|
263 |
-
hps.data.sampling_rate,
|
264 |
-
hps.data.hop_length,
|
265 |
-
hps.data.win_length,
|
266 |
-
hps.data.mel_fmin,
|
267 |
-
hps.data.mel_fmax
|
268 |
-
)
|
269 |
-
image_dict = {
|
270 |
-
"gen/mel": utils.plot_spectrogram_to_numpy(y_hat_mel[0].cpu().numpy())
|
271 |
-
}
|
272 |
-
audio_dict = {
|
273 |
-
"gen/audio": y_hat[0,:,:y_hat_lengths[0]]
|
274 |
-
}
|
275 |
-
if global_step == 0:
|
276 |
-
image_dict.update({"gt/mel": utils.plot_spectrogram_to_numpy(mel[0].cpu().numpy())})
|
277 |
-
audio_dict.update({"gt/audio": y[0,:,:y_lengths[0]]})
|
278 |
-
|
279 |
-
utils.summarize(
|
280 |
-
writer=writer_eval,
|
281 |
-
global_step=global_step,
|
282 |
-
images=image_dict,
|
283 |
-
audios=audio_dict,
|
284 |
-
audio_sampling_rate=hps.data.sampling_rate
|
285 |
-
)
|
286 |
-
generator.train()
|
287 |
-
|
288 |
-
|
289 |
-
if __name__ == "__main__":
|
290 |
-
main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AleksBlacky/Arxiv_paper_classifier/model_api.py
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
#
|
2 |
-
#
|
3 |
-
# def make_predict(model_name_global, model_local, decode_dict, title, abstract):
|
4 |
-
# model_name_global="allenai/scibert_scivocab_uncased"
|
5 |
-
# model_local="scibert_trainer/checkpoint-2000/"
|
6 |
-
#
|
7 |
-
# tokenizer_ = AutoTokenizer.from_pretrained(model_name_global)
|
8 |
-
# tokens = tokenizer_(title + abstract, return_tensors="pt")
|
9 |
-
# model_ = AutoModelForSequenceClassification.from_pretrained(model_local)
|
10 |
-
# outs = model_(tokens.input_ids)
|
11 |
-
#
|
12 |
-
# probs = outs["logits"].softmax(dim=-1).tolist()[0]
|
13 |
-
# topic_probs = {}
|
14 |
-
# for i, p in enumerate(probs):
|
15 |
-
# if p > 0.1:
|
16 |
-
# topic_probs[decode_dict[i]] = p
|
17 |
-
# return topic_probs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AlexWang/lama/bin/side_by_side.py
DELETED
@@ -1,76 +0,0 @@
|
|
1 |
-
#!/usr/bin/env python3
|
2 |
-
import os
|
3 |
-
import random
|
4 |
-
|
5 |
-
import cv2
|
6 |
-
import numpy as np
|
7 |
-
|
8 |
-
from saicinpainting.evaluation.data import PrecomputedInpaintingResultsDataset
|
9 |
-
from saicinpainting.evaluation.utils import load_yaml
|
10 |
-
from saicinpainting.training.visualizers.base import visualize_mask_and_images
|
11 |
-
|
12 |
-
|
13 |
-
def main(args):
|
14 |
-
config = load_yaml(args.config)
|
15 |
-
|
16 |
-
datasets = [PrecomputedInpaintingResultsDataset(args.datadir, cur_predictdir, **config.dataset_kwargs)
|
17 |
-
for cur_predictdir in args.predictdirs]
|
18 |
-
assert len({len(ds) for ds in datasets}) == 1
|
19 |
-
len_first = len(datasets[0])
|
20 |
-
|
21 |
-
indices = list(range(len_first))
|
22 |
-
if len_first > args.max_n:
|
23 |
-
indices = sorted(random.sample(indices, args.max_n))
|
24 |
-
|
25 |
-
os.makedirs(args.outpath, exist_ok=True)
|
26 |
-
|
27 |
-
filename2i = {}
|
28 |
-
|
29 |
-
keys = ['image'] + [i for i in range(len(datasets))]
|
30 |
-
for img_i in indices:
|
31 |
-
try:
|
32 |
-
mask_fname = os.path.basename(datasets[0].mask_filenames[img_i])
|
33 |
-
if mask_fname in filename2i:
|
34 |
-
filename2i[mask_fname] += 1
|
35 |
-
idx = filename2i[mask_fname]
|
36 |
-
mask_fname_only, ext = os.path.split(mask_fname)
|
37 |
-
mask_fname = f'{mask_fname_only}_{idx}{ext}'
|
38 |
-
else:
|
39 |
-
filename2i[mask_fname] = 1
|
40 |
-
|
41 |
-
cur_vis_dict = datasets[0][img_i]
|
42 |
-
for ds_i, ds in enumerate(datasets):
|
43 |
-
cur_vis_dict[ds_i] = ds[img_i]['inpainted']
|
44 |
-
|
45 |
-
vis_img = visualize_mask_and_images(cur_vis_dict, keys,
|
46 |
-
last_without_mask=False,
|
47 |
-
mask_only_first=True,
|
48 |
-
black_mask=args.black)
|
49 |
-
vis_img = np.clip(vis_img * 255, 0, 255).astype('uint8')
|
50 |
-
|
51 |
-
out_fname = os.path.join(args.outpath, mask_fname)
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
vis_img = cv2.cvtColor(vis_img, cv2.COLOR_RGB2BGR)
|
56 |
-
cv2.imwrite(out_fname, vis_img)
|
57 |
-
except Exception as ex:
|
58 |
-
print(f'Could not process {img_i} due to {ex}')
|
59 |
-
|
60 |
-
|
61 |
-
if __name__ == '__main__':
|
62 |
-
import argparse
|
63 |
-
|
64 |
-
aparser = argparse.ArgumentParser()
|
65 |
-
aparser.add_argument('--max-n', type=int, default=100, help='Maximum number of images to print')
|
66 |
-
aparser.add_argument('--black', action='store_true', help='Whether to fill mask on GT with black')
|
67 |
-
aparser.add_argument('config', type=str, help='Path to evaluation config (e.g. configs/eval1.yaml)')
|
68 |
-
aparser.add_argument('outpath', type=str, help='Where to put results')
|
69 |
-
aparser.add_argument('datadir', type=str,
|
70 |
-
help='Path to folder with images and masks')
|
71 |
-
aparser.add_argument('predictdirs', type=str,
|
72 |
-
nargs='+',
|
73 |
-
help='Path to folders with predicts')
|
74 |
-
|
75 |
-
|
76 |
-
main(aparser.parse_args())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Alican/pixera/app.py
DELETED
@@ -1,122 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import cv2
|
3 |
-
import torch
|
4 |
-
import random
|
5 |
-
import numpy as np
|
6 |
-
import gradio as gr
|
7 |
-
from util import util
|
8 |
-
from util.img2pixl import pixL
|
9 |
-
from data import create_dataset
|
10 |
-
from models import create_model
|
11 |
-
from options.test_options import TestOptions
|
12 |
-
|
13 |
-
opt = TestOptions().parse()
|
14 |
-
opt.num_threads = 0
|
15 |
-
opt.batch_size = 1
|
16 |
-
opt.display_id = -1
|
17 |
-
opt.no_dropout = True
|
18 |
-
|
19 |
-
model = create_model(opt)
|
20 |
-
model.setup(opt)
|
21 |
-
|
22 |
-
num_inferences = 0
|
23 |
-
|
24 |
-
def preprocess(image):
|
25 |
-
|
26 |
-
im_type = None
|
27 |
-
imgH, imgW = image.shape[:2]
|
28 |
-
aspect_ratio = imgW / imgH
|
29 |
-
|
30 |
-
|
31 |
-
if 0.75 <= aspect_ratio <= 1.75:
|
32 |
-
|
33 |
-
image = cv2.resize(image, (512, 512))
|
34 |
-
image = pixL().toThePixL(image,6,False)
|
35 |
-
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
36 |
-
image = np.asarray([image])
|
37 |
-
image = np.transpose(image, (0, 3, 1, 2))
|
38 |
-
|
39 |
-
image = inference(image)
|
40 |
-
|
41 |
-
return image
|
42 |
-
|
43 |
-
elif 1.75 <= aspect_ratio: # upper boundary
|
44 |
-
|
45 |
-
image = cv2.resize(image, (1024, 512))
|
46 |
-
middlePoint = image.shape[1] // 2
|
47 |
-
half_1 = image[:,:middlePoint]
|
48 |
-
half_2 = image[:,middlePoint:]
|
49 |
-
images = [half_1,half_2]
|
50 |
-
|
51 |
-
for image in images:
|
52 |
-
image = pixL().toThePixL(image,6,False)
|
53 |
-
image = np.asarray([image])
|
54 |
-
image = np.transpose(image, (0, 3, 1, 2))
|
55 |
-
image = inference(image)
|
56 |
-
|
57 |
-
image = cv2.hconcat([images[0], images[1]])
|
58 |
-
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
59 |
-
return image
|
60 |
-
|
61 |
-
elif 0.00 <= aspect_ratio <= 0.75:
|
62 |
-
|
63 |
-
image = cv2.resize(image, (512, 1024))
|
64 |
-
middlePoint = image.shape[0] // 2
|
65 |
-
half_1 = image[:middlePoint,:]
|
66 |
-
half_2 = image[middlePoint:,:]
|
67 |
-
images = [half_1,half_2]
|
68 |
-
|
69 |
-
for image in images:
|
70 |
-
image = pixL().toThePixL(image,6,False)
|
71 |
-
image = np.asarray([image])
|
72 |
-
image = np.transpose(image, (0, 3, 1, 2))
|
73 |
-
image = inference(image)
|
74 |
-
|
75 |
-
image = cv2.vconcat([images[0], images[1]])
|
76 |
-
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
77 |
-
return image
|
78 |
-
|
79 |
-
def postprocess(image):
|
80 |
-
image = util.tensor2im(image)
|
81 |
-
return image
|
82 |
-
|
83 |
-
def inference(image):
|
84 |
-
global model
|
85 |
-
|
86 |
-
data = {"A": None, "A_paths": None}
|
87 |
-
data['A'] = torch.FloatTensor(image)
|
88 |
-
|
89 |
-
model.set_input(data)
|
90 |
-
model.test()
|
91 |
-
|
92 |
-
image = model.get_current_visuals()['fake']
|
93 |
-
|
94 |
-
return image
|
95 |
-
|
96 |
-
def pixera_CYCLEGAN(image):
|
97 |
-
global num_inferences
|
98 |
-
|
99 |
-
image = preprocess(image)
|
100 |
-
|
101 |
-
image = postprocess(image)
|
102 |
-
|
103 |
-
num_inferences += 1
|
104 |
-
print(num_inferences)
|
105 |
-
|
106 |
-
return image
|
107 |
-
|
108 |
-
title_ = "Pixera: Create your own Pixel Art"
|
109 |
-
description_ = ""
|
110 |
-
|
111 |
-
examples_path = f"{os.getcwd()}/imgs"
|
112 |
-
examples_ = os.listdir(examples_path)
|
113 |
-
random.shuffle(examples_)
|
114 |
-
examples_ = [[f"{examples_path}/{example}"] for example in examples_]
|
115 |
-
|
116 |
-
|
117 |
-
demo = gr.Interface(pixera_CYCLEGAN, inputs = [gr.Image(show_label= False)],
|
118 |
-
outputs = [gr.Image(show_label= False)],
|
119 |
-
examples = examples_,
|
120 |
-
title = title_,
|
121 |
-
description= description_)
|
122 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Alpaca233/SadTalker/src/face3d/models/arcface_torch/configs/__init__.py
DELETED
File without changes
|
spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/docs/source/en/api/pipelines/repaint.md
DELETED
@@ -1,37 +0,0 @@
|
|
1 |
-
<!--Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
-
|
3 |
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
|
4 |
-
the License. You may obtain a copy of the License at
|
5 |
-
|
6 |
-
http://www.apache.org/licenses/LICENSE-2.0
|
7 |
-
|
8 |
-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
|
9 |
-
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
10 |
-
specific language governing permissions and limitations under the License.
|
11 |
-
-->
|
12 |
-
|
13 |
-
# RePaint
|
14 |
-
|
15 |
-
[RePaint: Inpainting using Denoising Diffusion Probabilistic Models](https://huggingface.co/papers/2201.09865) is by Andreas Lugmayr, Martin Danelljan, Andres Romero, Fisher Yu, Radu Timofte, Luc Van Gool.
|
16 |
-
|
17 |
-
The abstract from the paper is:
|
18 |
-
|
19 |
-
*Free-form inpainting is the task of adding new content to an image in the regions specified by an arbitrary binary mask. Most existing approaches train for a certain distribution of masks, which limits their generalization capabilities to unseen mask types. Furthermore, training with pixel-wise and perceptual losses often leads to simple textural extensions towards the missing areas instead of semantically meaningful generation. In this work, we propose RePaint: A Denoising Diffusion Probabilistic Model (DDPM) based inpainting approach that is applicable to even extreme masks. We employ a pretrained unconditional DDPM as the generative prior. To condition the generation process, we only alter the reverse diffusion iterations by sampling the unmasked regions using the given image information. Since this technique does not modify or condition the original DDPM network itself, the model produces high-quality and diverse output images for any inpainting form. We validate our method for both faces and general-purpose image inpainting using standard and extreme masks.
|
20 |
-
RePaint outperforms state-of-the-art Autoregressive, and GAN approaches for at least five out of six mask distributions.*
|
21 |
-
|
22 |
-
The original codebase can be found at [andreas128/RePaint](https://github.com/andreas128/RePaint).
|
23 |
-
|
24 |
-
<Tip>
|
25 |
-
|
26 |
-
Make sure to check out the Schedulers [guide](/using-diffusers/schedulers) to learn how to explore the tradeoff between scheduler speed and quality, and see the [reuse components across pipelines](/using-diffusers/loading#reuse-components-across-pipelines) section to learn how to efficiently load the same components into multiple pipelines.
|
27 |
-
|
28 |
-
</Tip>
|
29 |
-
|
30 |
-
|
31 |
-
## RePaintPipeline
|
32 |
-
[[autodoc]] RePaintPipeline
|
33 |
-
- all
|
34 |
-
- __call__
|
35 |
-
|
36 |
-
## ImagePipelineOutput
|
37 |
-
[[autodoc]] pipelines.ImagePipelineOutput
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/src/diffusers/schedulers/scheduling_utils_flax.py
DELETED
@@ -1,284 +0,0 @@
|
|
1 |
-
# Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
-
#
|
3 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
-
# you may not use this file except in compliance with the License.
|
5 |
-
# You may obtain a copy of the License at
|
6 |
-
#
|
7 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
-
#
|
9 |
-
# Unless required by applicable law or agreed to in writing, software
|
10 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
-
# See the License for the specific language governing permissions and
|
13 |
-
# limitations under the License.
|
14 |
-
import importlib
|
15 |
-
import math
|
16 |
-
import os
|
17 |
-
from dataclasses import dataclass
|
18 |
-
from enum import Enum
|
19 |
-
from typing import Any, Dict, Optional, Tuple, Union
|
20 |
-
|
21 |
-
import flax
|
22 |
-
import jax.numpy as jnp
|
23 |
-
|
24 |
-
from ..utils import BaseOutput
|
25 |
-
|
26 |
-
|
27 |
-
SCHEDULER_CONFIG_NAME = "scheduler_config.json"
|
28 |
-
|
29 |
-
|
30 |
-
# NOTE: We make this type an enum because it simplifies usage in docs and prevents
|
31 |
-
# circular imports when used for `_compatibles` within the schedulers module.
|
32 |
-
# When it's used as a type in pipelines, it really is a Union because the actual
|
33 |
-
# scheduler instance is passed in.
|
34 |
-
class FlaxKarrasDiffusionSchedulers(Enum):
|
35 |
-
FlaxDDIMScheduler = 1
|
36 |
-
FlaxDDPMScheduler = 2
|
37 |
-
FlaxPNDMScheduler = 3
|
38 |
-
FlaxLMSDiscreteScheduler = 4
|
39 |
-
FlaxDPMSolverMultistepScheduler = 5
|
40 |
-
|
41 |
-
|
42 |
-
@dataclass
|
43 |
-
class FlaxSchedulerOutput(BaseOutput):
|
44 |
-
"""
|
45 |
-
Base class for the scheduler's step function output.
|
46 |
-
|
47 |
-
Args:
|
48 |
-
prev_sample (`jnp.ndarray` of shape `(batch_size, num_channels, height, width)` for images):
|
49 |
-
Computed sample (x_{t-1}) of previous timestep. `prev_sample` should be used as next model input in the
|
50 |
-
denoising loop.
|
51 |
-
"""
|
52 |
-
|
53 |
-
prev_sample: jnp.ndarray
|
54 |
-
|
55 |
-
|
56 |
-
class FlaxSchedulerMixin:
|
57 |
-
"""
|
58 |
-
Mixin containing common functions for the schedulers.
|
59 |
-
|
60 |
-
Class attributes:
|
61 |
-
- **_compatibles** (`List[str]`) -- A list of classes that are compatible with the parent class, so that
|
62 |
-
`from_config` can be used from a class different than the one used to save the config (should be overridden
|
63 |
-
by parent class).
|
64 |
-
"""
|
65 |
-
|
66 |
-
config_name = SCHEDULER_CONFIG_NAME
|
67 |
-
ignore_for_config = ["dtype"]
|
68 |
-
_compatibles = []
|
69 |
-
has_compatibles = True
|
70 |
-
|
71 |
-
@classmethod
|
72 |
-
def from_pretrained(
|
73 |
-
cls,
|
74 |
-
pretrained_model_name_or_path: Dict[str, Any] = None,
|
75 |
-
subfolder: Optional[str] = None,
|
76 |
-
return_unused_kwargs=False,
|
77 |
-
**kwargs,
|
78 |
-
):
|
79 |
-
r"""
|
80 |
-
Instantiate a Scheduler class from a pre-defined JSON-file.
|
81 |
-
|
82 |
-
Parameters:
|
83 |
-
pretrained_model_name_or_path (`str` or `os.PathLike`, *optional*):
|
84 |
-
Can be either:
|
85 |
-
|
86 |
-
- A string, the *model id* of a model repo on huggingface.co. Valid model ids should have an
|
87 |
-
organization name, like `google/ddpm-celebahq-256`.
|
88 |
-
- A path to a *directory* containing model weights saved using [`~SchedulerMixin.save_pretrained`],
|
89 |
-
e.g., `./my_model_directory/`.
|
90 |
-
subfolder (`str`, *optional*):
|
91 |
-
In case the relevant files are located inside a subfolder of the model repo (either remote in
|
92 |
-
huggingface.co or downloaded locally), you can specify the folder name here.
|
93 |
-
return_unused_kwargs (`bool`, *optional*, defaults to `False`):
|
94 |
-
Whether kwargs that are not consumed by the Python class should be returned or not.
|
95 |
-
|
96 |
-
cache_dir (`Union[str, os.PathLike]`, *optional*):
|
97 |
-
Path to a directory in which a downloaded pretrained model configuration should be cached if the
|
98 |
-
standard cache should not be used.
|
99 |
-
force_download (`bool`, *optional*, defaults to `False`):
|
100 |
-
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
|
101 |
-
cached versions if they exist.
|
102 |
-
resume_download (`bool`, *optional*, defaults to `False`):
|
103 |
-
Whether or not to delete incompletely received files. Will attempt to resume the download if such a
|
104 |
-
file exists.
|
105 |
-
proxies (`Dict[str, str]`, *optional*):
|
106 |
-
A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128',
|
107 |
-
'http://hostname': 'foo.bar:4012'}`. The proxies are used on each request.
|
108 |
-
output_loading_info(`bool`, *optional*, defaults to `False`):
|
109 |
-
Whether or not to also return a dictionary containing missing keys, unexpected keys and error messages.
|
110 |
-
local_files_only(`bool`, *optional*, defaults to `False`):
|
111 |
-
Whether or not to only look at local files (i.e., do not try to download the model).
|
112 |
-
use_auth_token (`str` or *bool*, *optional*):
|
113 |
-
The token to use as HTTP bearer authorization for remote files. If `True`, will use the token generated
|
114 |
-
when running `transformers-cli login` (stored in `~/.huggingface`).
|
115 |
-
revision (`str`, *optional*, defaults to `"main"`):
|
116 |
-
The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a
|
117 |
-
git-based system for storing models and other artifacts on huggingface.co, so `revision` can be any
|
118 |
-
identifier allowed by git.
|
119 |
-
|
120 |
-
<Tip>
|
121 |
-
|
122 |
-
It is required to be logged in (`huggingface-cli login`) when you want to use private or [gated
|
123 |
-
models](https://huggingface.co/docs/hub/models-gated#gated-models).
|
124 |
-
|
125 |
-
</Tip>
|
126 |
-
|
127 |
-
<Tip>
|
128 |
-
|
129 |
-
Activate the special ["offline-mode"](https://huggingface.co/transformers/installation.html#offline-mode) to
|
130 |
-
use this method in a firewalled environment.
|
131 |
-
|
132 |
-
</Tip>
|
133 |
-
|
134 |
-
"""
|
135 |
-
config, kwargs = cls.load_config(
|
136 |
-
pretrained_model_name_or_path=pretrained_model_name_or_path,
|
137 |
-
subfolder=subfolder,
|
138 |
-
return_unused_kwargs=True,
|
139 |
-
**kwargs,
|
140 |
-
)
|
141 |
-
scheduler, unused_kwargs = cls.from_config(config, return_unused_kwargs=True, **kwargs)
|
142 |
-
|
143 |
-
if hasattr(scheduler, "create_state") and getattr(scheduler, "has_state", False):
|
144 |
-
state = scheduler.create_state()
|
145 |
-
|
146 |
-
if return_unused_kwargs:
|
147 |
-
return scheduler, state, unused_kwargs
|
148 |
-
|
149 |
-
return scheduler, state
|
150 |
-
|
151 |
-
def save_pretrained(self, save_directory: Union[str, os.PathLike], push_to_hub: bool = False, **kwargs):
|
152 |
-
"""
|
153 |
-
Save a scheduler configuration object to the directory `save_directory`, so that it can be re-loaded using the
|
154 |
-
[`~FlaxSchedulerMixin.from_pretrained`] class method.
|
155 |
-
|
156 |
-
Args:
|
157 |
-
save_directory (`str` or `os.PathLike`):
|
158 |
-
Directory where the configuration JSON file will be saved (will be created if it does not exist).
|
159 |
-
"""
|
160 |
-
self.save_config(save_directory=save_directory, push_to_hub=push_to_hub, **kwargs)
|
161 |
-
|
162 |
-
@property
|
163 |
-
def compatibles(self):
|
164 |
-
"""
|
165 |
-
Returns all schedulers that are compatible with this scheduler
|
166 |
-
|
167 |
-
Returns:
|
168 |
-
`List[SchedulerMixin]`: List of compatible schedulers
|
169 |
-
"""
|
170 |
-
return self._get_compatibles()
|
171 |
-
|
172 |
-
@classmethod
|
173 |
-
def _get_compatibles(cls):
|
174 |
-
compatible_classes_str = list(set([cls.__name__] + cls._compatibles))
|
175 |
-
diffusers_library = importlib.import_module(__name__.split(".")[0])
|
176 |
-
compatible_classes = [
|
177 |
-
getattr(diffusers_library, c) for c in compatible_classes_str if hasattr(diffusers_library, c)
|
178 |
-
]
|
179 |
-
return compatible_classes
|
180 |
-
|
181 |
-
|
182 |
-
def broadcast_to_shape_from_left(x: jnp.ndarray, shape: Tuple[int]) -> jnp.ndarray:
|
183 |
-
assert len(shape) >= x.ndim
|
184 |
-
return jnp.broadcast_to(x.reshape(x.shape + (1,) * (len(shape) - x.ndim)), shape)
|
185 |
-
|
186 |
-
|
187 |
-
def betas_for_alpha_bar(num_diffusion_timesteps: int, max_beta=0.999, dtype=jnp.float32) -> jnp.ndarray:
|
188 |
-
"""
|
189 |
-
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of
|
190 |
-
(1-beta) over time from t = [0,1].
|
191 |
-
|
192 |
-
Contains a function alpha_bar that takes an argument t and transforms it to the cumulative product of (1-beta) up
|
193 |
-
to that part of the diffusion process.
|
194 |
-
|
195 |
-
|
196 |
-
Args:
|
197 |
-
num_diffusion_timesteps (`int`): the number of betas to produce.
|
198 |
-
max_beta (`float`): the maximum beta to use; use values lower than 1 to
|
199 |
-
prevent singularities.
|
200 |
-
|
201 |
-
Returns:
|
202 |
-
betas (`jnp.ndarray`): the betas used by the scheduler to step the model outputs
|
203 |
-
"""
|
204 |
-
|
205 |
-
def alpha_bar(time_step):
|
206 |
-
return math.cos((time_step + 0.008) / 1.008 * math.pi / 2) ** 2
|
207 |
-
|
208 |
-
betas = []
|
209 |
-
for i in range(num_diffusion_timesteps):
|
210 |
-
t1 = i / num_diffusion_timesteps
|
211 |
-
t2 = (i + 1) / num_diffusion_timesteps
|
212 |
-
betas.append(min(1 - alpha_bar(t2) / alpha_bar(t1), max_beta))
|
213 |
-
return jnp.array(betas, dtype=dtype)
|
214 |
-
|
215 |
-
|
216 |
-
@flax.struct.dataclass
|
217 |
-
class CommonSchedulerState:
|
218 |
-
alphas: jnp.ndarray
|
219 |
-
betas: jnp.ndarray
|
220 |
-
alphas_cumprod: jnp.ndarray
|
221 |
-
|
222 |
-
@classmethod
|
223 |
-
def create(cls, scheduler):
|
224 |
-
config = scheduler.config
|
225 |
-
|
226 |
-
if config.trained_betas is not None:
|
227 |
-
betas = jnp.asarray(config.trained_betas, dtype=scheduler.dtype)
|
228 |
-
elif config.beta_schedule == "linear":
|
229 |
-
betas = jnp.linspace(config.beta_start, config.beta_end, config.num_train_timesteps, dtype=scheduler.dtype)
|
230 |
-
elif config.beta_schedule == "scaled_linear":
|
231 |
-
# this schedule is very specific to the latent diffusion model.
|
232 |
-
betas = (
|
233 |
-
jnp.linspace(
|
234 |
-
config.beta_start**0.5, config.beta_end**0.5, config.num_train_timesteps, dtype=scheduler.dtype
|
235 |
-
)
|
236 |
-
** 2
|
237 |
-
)
|
238 |
-
elif config.beta_schedule == "squaredcos_cap_v2":
|
239 |
-
# Glide cosine schedule
|
240 |
-
betas = betas_for_alpha_bar(config.num_train_timesteps, dtype=scheduler.dtype)
|
241 |
-
else:
|
242 |
-
raise NotImplementedError(
|
243 |
-
f"beta_schedule {config.beta_schedule} is not implemented for scheduler {scheduler.__class__.__name__}"
|
244 |
-
)
|
245 |
-
|
246 |
-
alphas = 1.0 - betas
|
247 |
-
|
248 |
-
alphas_cumprod = jnp.cumprod(alphas, axis=0)
|
249 |
-
|
250 |
-
return cls(
|
251 |
-
alphas=alphas,
|
252 |
-
betas=betas,
|
253 |
-
alphas_cumprod=alphas_cumprod,
|
254 |
-
)
|
255 |
-
|
256 |
-
|
257 |
-
def get_sqrt_alpha_prod(
|
258 |
-
state: CommonSchedulerState, original_samples: jnp.ndarray, noise: jnp.ndarray, timesteps: jnp.ndarray
|
259 |
-
):
|
260 |
-
alphas_cumprod = state.alphas_cumprod
|
261 |
-
|
262 |
-
sqrt_alpha_prod = alphas_cumprod[timesteps] ** 0.5
|
263 |
-
sqrt_alpha_prod = sqrt_alpha_prod.flatten()
|
264 |
-
sqrt_alpha_prod = broadcast_to_shape_from_left(sqrt_alpha_prod, original_samples.shape)
|
265 |
-
|
266 |
-
sqrt_one_minus_alpha_prod = (1 - alphas_cumprod[timesteps]) ** 0.5
|
267 |
-
sqrt_one_minus_alpha_prod = sqrt_one_minus_alpha_prod.flatten()
|
268 |
-
sqrt_one_minus_alpha_prod = broadcast_to_shape_from_left(sqrt_one_minus_alpha_prod, original_samples.shape)
|
269 |
-
|
270 |
-
return sqrt_alpha_prod, sqrt_one_minus_alpha_prod
|
271 |
-
|
272 |
-
|
273 |
-
def add_noise_common(
|
274 |
-
state: CommonSchedulerState, original_samples: jnp.ndarray, noise: jnp.ndarray, timesteps: jnp.ndarray
|
275 |
-
):
|
276 |
-
sqrt_alpha_prod, sqrt_one_minus_alpha_prod = get_sqrt_alpha_prod(state, original_samples, noise, timesteps)
|
277 |
-
noisy_samples = sqrt_alpha_prod * original_samples + sqrt_one_minus_alpha_prod * noise
|
278 |
-
return noisy_samples
|
279 |
-
|
280 |
-
|
281 |
-
def get_velocity_common(state: CommonSchedulerState, sample: jnp.ndarray, noise: jnp.ndarray, timesteps: jnp.ndarray):
|
282 |
-
sqrt_alpha_prod, sqrt_one_minus_alpha_prod = get_sqrt_alpha_prod(state, sample, noise, timesteps)
|
283 |
-
velocity = sqrt_alpha_prod * noise - sqrt_one_minus_alpha_prod * sample
|
284 |
-
return velocity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Andy1621/uniformer_image_segmentation/configs/fp16/README.md
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
# Mixed Precision Training
|
2 |
-
|
3 |
-
## Introduction
|
4 |
-
|
5 |
-
<!-- [OTHERS] -->
|
6 |
-
|
7 |
-
```latex
|
8 |
-
@article{micikevicius2017mixed,
|
9 |
-
title={Mixed precision training},
|
10 |
-
author={Micikevicius, Paulius and Narang, Sharan and Alben, Jonah and Diamos, Gregory and Elsen, Erich and Garcia, David and Ginsburg, Boris and Houston, Michael and Kuchaiev, Oleksii and Venkatesh, Ganesh and others},
|
11 |
-
journal={arXiv preprint arXiv:1710.03740},
|
12 |
-
year={2017}
|
13 |
-
}
|
14 |
-
```
|
15 |
-
|
16 |
-
## Results and models
|
17 |
-
|
18 |
-
### Cityscapes
|
19 |
-
|
20 |
-
| Method | Backbone | Crop Size | Lr schd | Mem (GB) | Inf time (fps) | mIoU | mIoU(ms+flip) | config | download |
|
21 |
-
| ---------- | -------- | --------- | ------: | -------- | -------------- | ----: | ------------: | ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
22 |
-
| FCN | R-101-D8 | 512x1024 | 80000 | 5.37 | 8.64 | 76.80 | - | [config](https://github.com/open-mmlab/mmsegmentation/blob/master/configs/fp16/fcn_r101-d8_512x1024_80k_fp16_cityscapes.py) | [model](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/fcn_r101-d8_512x1024_80k_fp16_cityscapes/fcn_r101-d8_512x1024_80k_fp16_cityscapes-50245227.pth) | [log](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/fcn_r101-d8_512x1024_80k_fp16_cityscapes/fcn_r101-d8_512x1024_80k_fp16_cityscapes_20200717_230921.log.json) |
|
23 |
-
| PSPNet | R-101-D8 | 512x1024 | 80000 | 5.34 | 8.77 | 79.46 | - | [config](https://github.com/open-mmlab/mmsegmentation/blob/master/configs/fp16/pspnet_r101-d8_512x1024_80k_fp16_cityscapes.py) | [model](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/pspnet_r101-d8_512x1024_80k_fp16_cityscapes/pspnet_r101-d8_512x1024_80k_fp16_cityscapes-ade37931.pth) | [log](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/pspnet_r101-d8_512x1024_80k_fp16_cityscapes/pspnet_r101-d8_512x1024_80k_fp16_cityscapes_20200717_230919.log.json) |
|
24 |
-
| DeepLabV3 | R-101-D8 | 512x1024 | 80000 | 5.75 | 3.86 | 80.48 | - | [config](https://github.com/open-mmlab/mmsegmentation/blob/master/configs/fp16/deeplabv3_r101-d8_512x1024_80k_fp16_cityscapes.py) | [model](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/deeplabv3_r101-d8_512x1024_80k_fp16_cityscapes/deeplabv3_r101-d8_512x1024_80k_fp16_cityscapes-bc86dc84.pth) | [log](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/deeplabv3_r101-d8_512x1024_80k_fp16_cityscapes/deeplabv3_r101-d8_512x1024_80k_fp16_cityscapes_20200717_230920.log.json) |
|
25 |
-
| DeepLabV3+ | R-101-D8 | 512x1024 | 80000 | 6.35 | 7.87 | 80.46 | - | [config](https://github.com/open-mmlab/mmsegmentation/blob/master/configs/fp16/deeplabv3plus_r101-d8_512x1024_80k_fp16_cityscapes.py) | [model](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/deeplabv3plus_r101-d8_512x1024_80k_fp16_cityscapes/deeplabv3plus_r101-d8_512x1024_80k_fp16_cityscapes-cc58bc8d.pth) | [log](https://download.openmmlab.com/mmsegmentation/v0.5/fp16/deeplabv3plus_r101-d8_512x1024_80k_fp16_cityscapes/deeplabv3plus_r101-d8_512x1024_80k_fp16_cityscapes_20200717_230920.log.json) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AnimaLab/bias-test-gpt-pairs/app.py
DELETED
@@ -1,1062 +0,0 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
import pandas as pd
|
3 |
-
import numpy as np
|
4 |
-
import string
|
5 |
-
import re
|
6 |
-
import json
|
7 |
-
import random
|
8 |
-
import torch
|
9 |
-
import hashlib, base64
|
10 |
-
from tqdm import tqdm
|
11 |
-
from gradio.themes.base import Base
|
12 |
-
import openai
|
13 |
-
|
14 |
-
# bloomber vis
|
15 |
-
import bloomberg_vis as bv
|
16 |
-
|
17 |
-
# error messages
|
18 |
-
from error_messages import *
|
19 |
-
|
20 |
-
tqdm().pandas()
|
21 |
-
|
22 |
-
# bias testing manager
|
23 |
-
import mgr_bias_scoring as bt_mgr
|
24 |
-
|
25 |
-
# managers for sentences and biases
|
26 |
-
import mgr_requests as rq_mgr
|
27 |
-
from mgr_requests import G_CORE_BIAS_NAME
|
28 |
-
import mgr_biases as bmgr
|
29 |
-
|
30 |
-
# cookie manager
|
31 |
-
#import mgr_cookies as cookie_mgr
|
32 |
-
|
33 |
-
use_paper_sentences = False
|
34 |
-
G_TEST_SENTENCES = []
|
35 |
-
G_NUM_SENTENCES = 0
|
36 |
-
G_MISSING_SPEC = []
|
37 |
-
|
38 |
-
def getTermsFromGUI(group1, group2, att1, att2):
|
39 |
-
bias_spec = {
|
40 |
-
"social_groups": {
|
41 |
-
"group 1": [t.strip(" ") for t in group1.split(",") if len(t.strip(' '))>0],
|
42 |
-
"group 2": [t.strip(" ") for t in group2.split(",") if len(t.strip(' '))>0]},
|
43 |
-
"attributes": {
|
44 |
-
"attribute 1": [t.strip(" ") for t in att1.split(",") if len(t.strip(' '))>0],
|
45 |
-
"attribute 2": [t.strip(" ") for t in att2.split(",") if len(t.strip(' '))>0]}
|
46 |
-
}
|
47 |
-
return bias_spec
|
48 |
-
|
49 |
-
# Select from example datasets
|
50 |
-
def prefillBiasSpec(evt: gr.SelectData):
|
51 |
-
global use_paper_sentences, G_MISSING_SPEC, G_CORE_BIAS_NAME
|
52 |
-
|
53 |
-
G_MISSING_SPEC = []
|
54 |
-
G_CORE_BIAS_NAME = evt.value
|
55 |
-
print(f"Setting core bias name to: {G_CORE_BIAS_NAME}")
|
56 |
-
|
57 |
-
print(f"Selected {evt.value} at {evt.index} from {evt.target}")
|
58 |
-
#bias_filename = f"{evt.value[1]}.json"
|
59 |
-
bias_filename = f"{bmgr.bias2tag[evt.value]}.json"
|
60 |
-
print(f"Filename: {bias_filename}")
|
61 |
-
|
62 |
-
isCustom = bmgr.isCustomBias(bias_filename)
|
63 |
-
if isCustom:
|
64 |
-
print(f"Custom bias specification: {bias_filename}")
|
65 |
-
bias_spec = bmgr.loadCustomBiasSpec(bias_filename)
|
66 |
-
else:
|
67 |
-
print(f"Core bias specification: {bias_filename}")
|
68 |
-
bias_spec = bmgr.loadPredefinedBiasSpec(bias_filename)
|
69 |
-
|
70 |
-
grp1_terms, grp2_terms = bmgr.getSocialGroupTerms(bias_spec)
|
71 |
-
att1_terms, att2_terms = bmgr.getAttributeTerms(bias_spec)
|
72 |
-
|
73 |
-
print(f"Grp 1: {grp1_terms}")
|
74 |
-
print(f"Grp 2: {grp2_terms}")
|
75 |
-
|
76 |
-
print(f"Att 1: {att1_terms}")
|
77 |
-
print(f"Att 2: {att2_terms}")
|
78 |
-
|
79 |
-
#use_paper_sentences = True
|
80 |
-
|
81 |
-
return (', '.join(grp1_terms[0:50]), ', '.join(grp2_terms[0:50]), ', '.join(att1_terms[0:50]), ', '.join(att2_terms[0:50]),
|
82 |
-
gr.update(interactive=False, visible=False))
|
83 |
-
|
84 |
-
def updateErrorMsg(isError, text):
|
85 |
-
return gr.Markdown.update(visible=isError, value=text)
|
86 |
-
|
87 |
-
def countBiasCustomSpec(bias_spec):
|
88 |
-
if (bias_spec) == 0:
|
89 |
-
return 0
|
90 |
-
elif 'custom_counts' in bias_spec:
|
91 |
-
rq_count_1 = sum([v for v in bias_spec['custom_counts' ][0].values()])
|
92 |
-
rq_count_2 = sum([v for v in bias_spec['custom_counts' ][1].values()])
|
93 |
-
|
94 |
-
return rq_count_1+rq_count_2
|
95 |
-
else:
|
96 |
-
return 0
|
97 |
-
|
98 |
-
def generateSentences(gr1, gr2, att1, att2, openai_key, num_sent2gen, progress=gr.Progress()):
|
99 |
-
global use_paper_sentences, G_NUM_SENTENCES, G_MISSING_SPEC, G_TEST_SENTENCES
|
100 |
-
print(f"GENERATE SENTENCES CLICKED!, requested sentence per attribute number: {num_sent2gen}")
|
101 |
-
|
102 |
-
# No error messages by default
|
103 |
-
err_update = updateErrorMsg(False, "")
|
104 |
-
bias_test_label = "Test Model Using Imbalanced Sentences"
|
105 |
-
|
106 |
-
# There are no sentences available at all
|
107 |
-
if len(G_TEST_SENTENCES) == 0:
|
108 |
-
bias_gen_states = [True, False]
|
109 |
-
online_gen_visible = True
|
110 |
-
test_model_visible = False
|
111 |
-
else:
|
112 |
-
bias_gen_states = [True, True]
|
113 |
-
online_gen_visible = True
|
114 |
-
test_model_visible = True
|
115 |
-
info_msg_update = gr.Markdown.update(visible=False, value="")
|
116 |
-
|
117 |
-
test_sentences = []
|
118 |
-
bias_spec = getTermsFromGUI(gr1, gr2, att1, att2)
|
119 |
-
g1, g2, a1, a2 = bt_mgr.get_words(bias_spec)
|
120 |
-
total_att_terms = len(a1)+len(a2)
|
121 |
-
all_terms_len = len(g1)+len(g2)+len(a1)+len(a2)
|
122 |
-
print(f"Length of all the terms: {all_terms_len}")
|
123 |
-
if all_terms_len == 0:
|
124 |
-
print("No terms entered!")
|
125 |
-
err_update = updateErrorMsg(True, NO_TERMS_ENTERED_ERROR)
|
126 |
-
#raise gr.Error(NO_TERMS_ENTERED_ERROR)
|
127 |
-
else:
|
128 |
-
if len(openai_key) == 0:
|
129 |
-
print("Empty OpenAI key!!!")
|
130 |
-
err_update = updateErrorMsg(True, OPENAI_KEY_EMPTY)
|
131 |
-
elif len(openai_key) < 10:
|
132 |
-
print("Wrong length OpenAI key!!!")
|
133 |
-
err_update = updateErrorMsg(True, OPENAI_KEY_WRONG)
|
134 |
-
else:
|
135 |
-
progress(0, desc="ChatGPT generation...")
|
136 |
-
print(f"Using Online Generator LLM...")
|
137 |
-
|
138 |
-
print(f"Is custom spec? {countBiasCustomSpec(G_MISSING_SPEC)}")
|
139 |
-
print(f"Custom spec: {G_MISSING_SPEC}")
|
140 |
-
use_bias_spec = G_MISSING_SPEC if countBiasCustomSpec(G_MISSING_SPEC)>0 else bias_spec
|
141 |
-
test_sentences, gen_err_msg = rq_mgr._generateOnline(use_bias_spec, progress, openai_key, num_sent2gen, isSaving=False)
|
142 |
-
|
143 |
-
#print(f"Test sentences: {test_sentences}")
|
144 |
-
num_sentences = len(test_sentences)
|
145 |
-
print(f"Returned num sentences: {num_sentences}")
|
146 |
-
|
147 |
-
G_NUM_SENTENCES = len(G_TEST_SENTENCES) + num_sentences
|
148 |
-
if num_sentences == 0 and len(G_TEST_SENTENCES) == 0:
|
149 |
-
print("Test sentences empty!")
|
150 |
-
#raise gr.Error(NO_SENTENCES_ERROR)
|
151 |
-
|
152 |
-
# Some error returned from OpenAI generator
|
153 |
-
if gen_err_msg != None:
|
154 |
-
err_update = updateErrorMsg(True, gen_err_msg)
|
155 |
-
# No sentences returned, but no specific error
|
156 |
-
else:
|
157 |
-
err_update = updateErrorMsg(True, NO_GEN_SENTENCES_ERROR)
|
158 |
-
elif num_sentences == 0 and len(G_TEST_SENTENCES) > 0:
|
159 |
-
print(f"Has some retrieved sentences {G_TEST_SENTENCES}, but no sentnces generated {num_sentences}!")
|
160 |
-
#raise gr.Error(NO_SENTENCES_ERROR)
|
161 |
-
|
162 |
-
# Some error returned from OpenAI generator
|
163 |
-
if gen_err_msg != None:
|
164 |
-
err_update = updateErrorMsg(True, gen_err_msg)
|
165 |
-
# No sentences returned, but no specific error
|
166 |
-
else:
|
167 |
-
err_update = updateErrorMsg(True, NO_GEN_SENTENCES_ERROR)
|
168 |
-
# has all sentences, can bias test
|
169 |
-
bias_gen_states = [True, True]
|
170 |
-
|
171 |
-
else:
|
172 |
-
print("Combining generated and existing...")
|
173 |
-
print(f"Existing sentences: {len(G_TEST_SENTENCES)}")
|
174 |
-
print(f"Generated: {len(test_sentences)}")
|
175 |
-
G_TEST_SENTENCES = G_TEST_SENTENCES + test_sentences
|
176 |
-
print(f"Combined: {len(G_TEST_SENTENCES)}")
|
177 |
-
# has all sentences, can bias test
|
178 |
-
bias_gen_states = [False, True]
|
179 |
-
online_gen_visible = False
|
180 |
-
test_model_visible = True # show choise of tested model and the sentences
|
181 |
-
info_msg, att1_missing, att2_missing, total_missing, c_bias_spec = _genSentenceCoverMsg(G_TEST_SENTENCES, total_att_terms, bias_spec, isGen=True)
|
182 |
-
|
183 |
-
info_msg_update = gr.Markdown.update(visible=True, value=info_msg)
|
184 |
-
bias_test_label = "Test Model For Social Bias"
|
185 |
-
|
186 |
-
#cookie_mgr.saveOpenAIKey(openai_key)
|
187 |
-
|
188 |
-
print(f"Online gen visible: {not err_update['visible']}")
|
189 |
-
return (err_update, # err message if any
|
190 |
-
info_msg_update, # infor message about the number of sentences and coverage
|
191 |
-
gr.Row.update(visible=online_gen_visible), # online gen row
|
192 |
-
#gr.Slider.update(minimum=8, maximum=24, value=4), # slider generation
|
193 |
-
gr.Row.update(visible=test_model_visible), # tested model row
|
194 |
-
#gr.Dropdown.update(visible=test_model_visible), # tested model selection dropdown
|
195 |
-
gr.Accordion.update(visible=test_model_visible, label=f"Test sentences ({len(G_TEST_SENTENCES)})"), # accordion
|
196 |
-
gr.update(visible=True), # Row sentences
|
197 |
-
gr.DataFrame.update(value=G_TEST_SENTENCES), #DataFrame test sentences
|
198 |
-
gr.update(visible=bias_gen_states[0]), # gen btn
|
199 |
-
gr.update(visible=bias_gen_states[1], value=bias_test_label) # bias btn
|
200 |
-
)
|
201 |
-
|
202 |
-
# Interaction with top tabs
|
203 |
-
def moveStep1():
|
204 |
-
variants = ["primary","secondary","secondary"]
|
205 |
-
#inter = [True, False, False]
|
206 |
-
tabs = [True, False, False]
|
207 |
-
|
208 |
-
return (gr.update(variant=variants[0]),
|
209 |
-
gr.update(variant=variants[1]),
|
210 |
-
gr.update(variant=variants[2]),
|
211 |
-
gr.update(visible=tabs[0]),
|
212 |
-
gr.update(visible=tabs[1]),
|
213 |
-
gr.update(visible=tabs[2]))
|
214 |
-
|
215 |
-
# Interaction with top tabs
|
216 |
-
def moveStep1_clear():
|
217 |
-
variants = ["primary","secondary","secondary"]
|
218 |
-
#inter = [True, False, False]
|
219 |
-
tabs = [True, False, False]
|
220 |
-
|
221 |
-
return (gr.update(variant=variants[0]),
|
222 |
-
gr.update(variant=variants[1]),
|
223 |
-
gr.update(variant=variants[2]),
|
224 |
-
gr.update(visible=tabs[0]),
|
225 |
-
gr.update(visible=tabs[1]),
|
226 |
-
gr.update(visible=tabs[2]),
|
227 |
-
gr.Textbox.update(value=""),
|
228 |
-
gr.Textbox.update(value=""),
|
229 |
-
gr.Textbox.update(value=""),
|
230 |
-
gr.Textbox.update(value=""))
|
231 |
-
|
232 |
-
def moveStep2():
|
233 |
-
variants = ["secondary","primary","secondary"]
|
234 |
-
#inter = [True, True, False]
|
235 |
-
tabs = [False, True, False]
|
236 |
-
|
237 |
-
return (gr.update(variant=variants[0]),
|
238 |
-
gr.update(variant=variants[1]),
|
239 |
-
gr.update(variant=variants[2]),
|
240 |
-
gr.update(visible=tabs[0]),
|
241 |
-
gr.update(visible=tabs[1]),
|
242 |
-
gr.update(visible=tabs[2]),
|
243 |
-
gr.Checkbox.update(value=False))
|
244 |
-
|
245 |
-
def moveStep3():
|
246 |
-
variants = ["secondary","secondary","primary"]
|
247 |
-
#inter = [True, True, False]
|
248 |
-
tabs = [False, False, True]
|
249 |
-
|
250 |
-
return (gr.update(variant=variants[0]),
|
251 |
-
gr.update(variant=variants[1]),
|
252 |
-
gr.update(variant=variants[2]),
|
253 |
-
gr.update(visible=tabs[0]),
|
254 |
-
gr.update(visible=tabs[1]),
|
255 |
-
gr.update(visible=tabs[2]))
|
256 |
-
|
257 |
-
def _genSentenceCoverMsg(test_sentences, total_att_terms, bias_spec, isGen=False):
|
258 |
-
att_cover_dict = {}
|
259 |
-
print(f"In Coverage: {test_sentences[0:2]}")
|
260 |
-
for sent,alt_sent,gt1,gt2,att in test_sentences:
|
261 |
-
num = att_cover_dict.get(att, 0)
|
262 |
-
att_cover_dict[att] = num+1
|
263 |
-
att_by_count = dict(sorted(att_cover_dict.items(), key=lambda item: item[1]))
|
264 |
-
num_covered_atts = len(list(att_by_count.keys()))
|
265 |
-
lest_covered_att = list(att_by_count.keys())[0]
|
266 |
-
least_covered_count = att_by_count[lest_covered_att]
|
267 |
-
|
268 |
-
test_sentences_df = pd.DataFrame(test_sentences, columns=['sentence', 'alt_sentence', "grp_term1", "grp_term2", "att_term"])
|
269 |
-
|
270 |
-
# missing sentences for attributes
|
271 |
-
att1_missing, att2_missing = bt_mgr.genMissingAttribBiasSpec(bias_spec, test_sentences_df)
|
272 |
-
print(f"Att 1 missing: {att1_missing}")
|
273 |
-
print(f"Att 2 missing: {att2_missing}")
|
274 |
-
|
275 |
-
# missing pairs spec
|
276 |
-
bt_mgr.genMissingPairsSpec(bias_spec, test_sentences_df)
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
att1_missing_num = sum([v for k, v in att1_missing.items()])
|
281 |
-
att2_missing_num = sum([v for k, v in att2_missing.items()])
|
282 |
-
total_missing = att1_missing_num + att2_missing_num
|
283 |
-
|
284 |
-
print(f"Total missing: {total_missing}")
|
285 |
-
missing_info = f"Missing {total_missing} sentences to balance attributes <bt /> "
|
286 |
-
|
287 |
-
source_msg = "Found" if isGen==False else "Generated"
|
288 |
-
if num_covered_atts >= total_att_terms:
|
289 |
-
if total_missing > 0:
|
290 |
-
info_msg = f"**{source_msg} {len(test_sentences)} sentences covering all bias specification attributes, but some attributes are underepresented. Generating additional {total_missing} sentences is suggested.**"
|
291 |
-
else:
|
292 |
-
info_msg = f"**{source_msg} {len(test_sentences)} sentences covering all bias specification attributes. Please select model to test.**"
|
293 |
-
else:
|
294 |
-
info_msg = f"**{source_msg} {len(test_sentences)} sentences covering {num_covered_atts} of {total_att_terms} attributes. Please select model to test.**"
|
295 |
-
|
296 |
-
#info_msg = missing_info + info_msg
|
297 |
-
bias_spec['custom_counts'] = [att1_missing, att2_missing]
|
298 |
-
|
299 |
-
return info_msg, att1_missing, att2_missing, total_missing, bias_spec
|
300 |
-
|
301 |
-
def retrieveSentences(gr1, gr2, att1, att2, progress=gr.Progress()):
|
302 |
-
global use_paper_sentences, G_NUM_SENTENCES, G_MISSING_SPEC, G_TEST_SENTENCES
|
303 |
-
|
304 |
-
print("RETRIEVE SENTENCES CLICKED!")
|
305 |
-
G_MISSING_SPEC = []
|
306 |
-
variants = ["secondary","primary","secondary"]
|
307 |
-
inter = [True, True, False]
|
308 |
-
tabs = [True, False]
|
309 |
-
bias_gen_states = [True, False]
|
310 |
-
bias_gen_label = "Generate New Sentences"
|
311 |
-
bias_test_label = "Test Model for Social Bias"
|
312 |
-
num2gen_update = gr.update(visible=True) #update the number of new sentences to generate
|
313 |
-
prog_vis = [True]
|
314 |
-
err_update = updateErrorMsg(False, "")
|
315 |
-
info_msg_update = gr.Markdown.update(visible=False, value="")
|
316 |
-
openai_gen_row_update = gr.Row.update(visible=True)
|
317 |
-
tested_model_dropdown_update = gr.Dropdown.update(visible=False)
|
318 |
-
tested_model_row_update = gr.Row.update(visible=False)
|
319 |
-
# additinal sentences disabled by default
|
320 |
-
gen_additional_sentence_checkbox_update = gr.Checkbox.update(visible=False)
|
321 |
-
|
322 |
-
test_sentences = []
|
323 |
-
bias_spec = getTermsFromGUI(gr1, gr2, att1, att2)
|
324 |
-
g1, g2, a1, a2 = bt_mgr.get_words(bias_spec)
|
325 |
-
total_att_terms = len(a1)+len(a2)
|
326 |
-
all_terms_len = len(g1)+len(g2)+len(a1)+len(a2)
|
327 |
-
print(f"Length of all the terms: {all_terms_len}")
|
328 |
-
if all_terms_len == 0:
|
329 |
-
print("No terms entered!")
|
330 |
-
err_update = updateErrorMsg(True, NO_TERMS_ENTERED_ERROR)
|
331 |
-
variants = ["primary","secondary","secondary"]
|
332 |
-
inter = [True, False, False]
|
333 |
-
tabs = [True, False]
|
334 |
-
prog_vis = [False]
|
335 |
-
|
336 |
-
#raise gr.Error(NO_TERMS_ENTERED_ERROR)
|
337 |
-
else:
|
338 |
-
tabs = [False, True]
|
339 |
-
progress(0, desc="Fetching saved sentences...")
|
340 |
-
test_sentences = rq_mgr._getSavedSentences(bias_spec, progress, use_paper_sentences)
|
341 |
-
|
342 |
-
#err_update, _, test_sentences = generateSentences(gr1, gr2, att1, att2, progress)
|
343 |
-
print(f"Type: {type(test_sentences)}")
|
344 |
-
num_sentences = len(test_sentences)
|
345 |
-
print(f"Returned num sentences: {num_sentences}")
|
346 |
-
|
347 |
-
err_update = updateErrorMsg(False, "")
|
348 |
-
G_NUM_SENTENCES = num_sentences
|
349 |
-
G_TEST_SENTENCES = test_sentences
|
350 |
-
if G_NUM_SENTENCES == 0:
|
351 |
-
print("Test sentences empty!")
|
352 |
-
#raise gr.Error(NO_SENTENCES_ERROR)
|
353 |
-
err_update = updateErrorMsg(True, NO_SENTENCES_ERROR)
|
354 |
-
|
355 |
-
if len(test_sentences) > 0:
|
356 |
-
info_msg, att1_missing, att2_missing, total_missing, c_bias_spec = _genSentenceCoverMsg(test_sentences, total_att_terms, bias_spec)
|
357 |
-
G_MISSING_SPEC = c_bias_spec
|
358 |
-
print(f"Saving global custom bias specification: {G_MISSING_SPEC}")
|
359 |
-
|
360 |
-
info_msg_update = gr.Markdown.update(visible=True, value=info_msg)
|
361 |
-
num2gen_update = gr.update(visible=False)
|
362 |
-
bias_gen_label = f"Generate Additional {total_missing} Sentences"
|
363 |
-
|
364 |
-
if total_missing == 0:
|
365 |
-
print(f"Got {len(test_sentences)}, allowing bias test...")
|
366 |
-
#print(test_sentences)
|
367 |
-
bias_gen_states = [False, True]
|
368 |
-
openai_gen_row_update = gr.Row.update(visible=False)
|
369 |
-
tested_model_dropdown_update = gr.Dropdown.update(visible=True)
|
370 |
-
tested_model_row_update = gr.Row.update(visible=True)
|
371 |
-
|
372 |
-
# still give the option to generate more sentences
|
373 |
-
gen_additional_sentence_checkbox_update = gr.Checkbox.update(visible=True)
|
374 |
-
|
375 |
-
else:
|
376 |
-
bias_test_label = "Test Model Using Imbalanced Sentences"
|
377 |
-
bias_gen_states = [True, True]
|
378 |
-
tested_model_dropdown_update = gr.Dropdown.update(visible=True)
|
379 |
-
tested_model_row_update = gr.Row.update(visible=True)
|
380 |
-
|
381 |
-
return (err_update, # error message
|
382 |
-
openai_gen_row_update, # OpenAI generation
|
383 |
-
gen_additional_sentence_checkbox_update, # optional generate additional sentences
|
384 |
-
num2gen_update, # Number of sentences to genrate
|
385 |
-
tested_model_row_update, #Tested Model Row
|
386 |
-
#tested_model_dropdown_update, # Tested Model Dropdown
|
387 |
-
info_msg_update, # sentences retrieved info update
|
388 |
-
gr.update(visible=prog_vis), # progress bar top
|
389 |
-
gr.update(variant=variants[0], interactive=inter[0]), # breadcrumb btn1
|
390 |
-
gr.update(variant=variants[1], interactive=inter[1]), # breadcrumb btn2
|
391 |
-
gr.update(variant=variants[2], interactive=inter[2]), # breadcrumb btn3
|
392 |
-
gr.update(visible=tabs[0]), # tab 1
|
393 |
-
gr.update(visible=tabs[1]), # tab 2
|
394 |
-
gr.Accordion.update(visible=bias_gen_states[1], label=f"Test sentences ({len(test_sentences)})"), # accordion
|
395 |
-
gr.update(visible=True), # Row sentences
|
396 |
-
gr.DataFrame.update(value=test_sentences), #DataFrame test sentences
|
397 |
-
gr.Button.update(visible=bias_gen_states[0], value=bias_gen_label), # gen btn
|
398 |
-
gr.Button.update(visible=bias_gen_states[1], value=bias_test_label), # bias test btn
|
399 |
-
gr.update(value=', '.join(g1)), # gr1_fixed
|
400 |
-
gr.update(value=', '.join(g2)), # gr2_fixed
|
401 |
-
gr.update(value=', '.join(a1)), # att1_fixed
|
402 |
-
gr.update(value=', '.join(a2)) # att2_fixed
|
403 |
-
)
|
404 |
-
|
405 |
-
def startBiasTest(test_sentences_df, gr1, gr2, att1, att2, model_name, progress=gr.Progress()):
|
406 |
-
global G_NUM_SENTENCES
|
407 |
-
|
408 |
-
variants = ["secondary","secondary","primary"]
|
409 |
-
inter = [True, True, True]
|
410 |
-
tabs = [False, False, True]
|
411 |
-
err_update = updateErrorMsg(False, "")
|
412 |
-
|
413 |
-
if test_sentences_df.shape[0] == 0:
|
414 |
-
G_NUM_SENTENCES = 0
|
415 |
-
#raise gr.Error(NO_SENTENCES_ERROR)
|
416 |
-
err_update = updateErrorMsg(True, NO_SENTENCES_ERROR)
|
417 |
-
|
418 |
-
|
419 |
-
progress(0, desc="Starting social bias testing...")
|
420 |
-
|
421 |
-
#print(f"Type: {type(test_sentences_df)}")
|
422 |
-
#print(f"Data: {test_sentences_df}")
|
423 |
-
|
424 |
-
# bloomberg vis
|
425 |
-
att_freqs = {}
|
426 |
-
for att in test_sentences_df["Attribute term"].tolist():
|
427 |
-
#if att == "speech-language-pathologist" or att == "speech-language pathologist" or att == "speech language pathologist":
|
428 |
-
# print(f"Special case in bloomberg: {att}")
|
429 |
-
# att = "speech-language pathologist"
|
430 |
-
|
431 |
-
if att in att_freqs:
|
432 |
-
att_freqs[att] += 1
|
433 |
-
else:
|
434 |
-
att_freqs[att] = 1
|
435 |
-
|
436 |
-
#print(f"att_freqs: {att_freqs}")
|
437 |
-
|
438 |
-
# 1. bias specification
|
439 |
-
bias_spec = getTermsFromGUI(gr1, gr2, att1, att2)
|
440 |
-
#print(f"Bias spec dict: {bias_spec}")
|
441 |
-
g1, g2, a1, a2 = bt_mgr.get_words(bias_spec)
|
442 |
-
|
443 |
-
# bloomberg vis
|
444 |
-
attributes_g1 = a1 #list(set(a1 + [a.replace(' ','-') for a in a1])) #bias_spec['attributes']['attribute 1']
|
445 |
-
attributes_g2 = a2 #list(set(a2 + [a.replace(' ','-') for a in a2])) #bias_spec['attributes']['attribute 2']
|
446 |
-
|
447 |
-
#print(f"Attributes 1: {attributes_g1}")
|
448 |
-
#print(f"Attributes 2: {attributes_g2}")
|
449 |
-
|
450 |
-
# 2. convert to templates
|
451 |
-
#test_sentences_df['Template'] = test_sentences_df.apply(bt_mgr.sentence_to_template_df, axis=1)
|
452 |
-
test_sentences_df[['Template','grp_refs']] = test_sentences_df.progress_apply(bt_mgr.ref_terms_sentence_to_template, axis=1)
|
453 |
-
print(f"Columns with templates: {list(test_sentences_df.columns)}")
|
454 |
-
print(test_sentences_df[['Group term 1', 'Group term 2', 'Sentence', 'Alternative Sentence']])
|
455 |
-
|
456 |
-
# 3. convert to pairs
|
457 |
-
test_pairs_df = bt_mgr.convert2pairsFromDF(bias_spec, test_sentences_df)
|
458 |
-
print(f"Columns for test pairs: {list(test_pairs_df.columns)}")
|
459 |
-
print(test_pairs_df[['grp_term_1', 'grp_term_2', 'sentence', 'alt_sentence']])
|
460 |
-
|
461 |
-
|
462 |
-
progress(0.05, desc=f"Loading model {model_name}...")
|
463 |
-
# 4. get the per sentence bias scores
|
464 |
-
print(f"Test model name: {model_name}")
|
465 |
-
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
466 |
-
print(f"Device: {device}")
|
467 |
-
tested_model, tested_tokenizer = bt_mgr._getModelSafe(model_name, device)
|
468 |
-
if tested_model == None:
|
469 |
-
print("Tested model is empty!!!!")
|
470 |
-
err_update = updateErrorMsg(True, MODEL_NOT_LOADED_ERROR)
|
471 |
-
|
472 |
-
#print(f"Mask token id: {tested_toknizer.mask_token_id}")
|
473 |
-
|
474 |
-
# sanity check bias test
|
475 |
-
bt_mgr.testModelProbability(model_name, tested_model, tested_tokenizer, device)
|
476 |
-
|
477 |
-
# testing actual sentences
|
478 |
-
test_score_df, bias_stats_dict = bt_mgr.testBiasOnPairs(test_pairs_df, bias_spec, model_name, tested_model, tested_tokenizer, device, progress)
|
479 |
-
print(f"Test scores: {test_score_df.head(3)}")
|
480 |
-
num_sentences = test_sentences_df.shape[0] #score_templates_df.shape[0]
|
481 |
-
|
482 |
-
model_bias_dict = {}
|
483 |
-
tested_model = bias_stats_dict['tested_model']
|
484 |
-
#model_bias_dict[bias_stats_dict['tested_model']] = bias_stats_dict['model_bias']
|
485 |
-
model_bias_dict[f'Stereotype Score on {tested_model.upper()} using {num_sentences} sentences'] = bias_stats_dict['model_bias']
|
486 |
-
|
487 |
-
per_attrib_bias = bias_stats_dict['per_attribute']
|
488 |
-
#print(f"Per attribute bias:", per_attrib_bias)
|
489 |
-
|
490 |
-
# bias score
|
491 |
-
#test_pairs_df['bias_score'] = 0
|
492 |
-
test_pairs_df.loc[test_pairs_df['stereotyped'] == 1, 'bias_score'] = test_pairs_df['top_logit']-test_pairs_df['bottom_logit']
|
493 |
-
test_pairs_df.loc[test_pairs_df['stereotyped'] == 0, 'bias_score'] = test_pairs_df['bottom_logit']-test_pairs_df['top_logit']
|
494 |
-
|
495 |
-
test_pairs_df['stereotyped_b'] = "Unknown"
|
496 |
-
test_pairs_df.loc[test_pairs_df['stereotyped'] == 1, 'stereotyped_b'] = "yes"
|
497 |
-
test_pairs_df.loc[test_pairs_df['stereotyped'] == 0, 'stereotyped_b'] = "no"
|
498 |
-
|
499 |
-
# Order group terms such that most probable is first
|
500 |
-
def orderGroups(row):
|
501 |
-
group_order = "None/None"
|
502 |
-
sentence_order = ["none","none"]
|
503 |
-
new_grp_refs = [] #list(row['grp_refs'])
|
504 |
-
for grp_pair in list(row['grp_refs']):
|
505 |
-
new_grp_refs.append(("R1","R2"))
|
506 |
-
#print(f"Grp refs: {new_grp_refs}")
|
507 |
-
if row['stereotyped'] == 1:
|
508 |
-
if row["label_1"] == "stereotype":
|
509 |
-
group_order = row['grp_term_1']+"/"+row['grp_term_2']
|
510 |
-
sentence_order = [row['sentence'], row['alt_sentence']]
|
511 |
-
new_grp_refs = []
|
512 |
-
for grp_pair in list(row['grp_refs']):
|
513 |
-
new_grp_refs.append((grp_pair[0], grp_pair[1]))
|
514 |
-
else:
|
515 |
-
group_order = row['grp_term_2']+"/"+row['grp_term_1']
|
516 |
-
sentence_order = [row['alt_sentence'], row['sentence']]
|
517 |
-
new_grp_refs = []
|
518 |
-
for grp_pair in list(row['grp_refs']):
|
519 |
-
new_grp_refs.append((grp_pair[1], grp_pair[0]))
|
520 |
-
else:
|
521 |
-
if row["label_1"] == "stereotype":
|
522 |
-
group_order = row['grp_term_2']+"/"+row['grp_term_1']
|
523 |
-
sentence_order = [row['alt_sentence'], row['sentence']]
|
524 |
-
new_grp_refs = []
|
525 |
-
for grp_pair in list(row['grp_refs']):
|
526 |
-
new_grp_refs.append((grp_pair[1], grp_pair[0]))
|
527 |
-
else:
|
528 |
-
group_order = row['grp_term_1']+"/"+row['grp_term_2']
|
529 |
-
sentence_order = [row['sentence'], row['alt_sentence']]
|
530 |
-
new_grp_refs = []
|
531 |
-
for grp_pair in list(row['grp_refs']):
|
532 |
-
new_grp_refs.append((grp_pair[0], grp_pair[1]))
|
533 |
-
|
534 |
-
return pd.Series([group_order, sentence_order[0], sentence_order[1], new_grp_refs])
|
535 |
-
|
536 |
-
test_pairs_df[['groups_rel','sentence', 'alt_sentence', 'grp_refs']] = test_pairs_df.progress_apply(orderGroups, axis=1)
|
537 |
-
#test_pairs_df['groups_rel'] = test_pairs_df['grp_term_1']+"/"+test_pairs_df['grp_term_2']
|
538 |
-
|
539 |
-
# construct display dataframe
|
540 |
-
score_templates_df = test_pairs_df[['att_term','template','sentence','alt_sentence']].copy()
|
541 |
-
score_templates_df['Groups'] = test_pairs_df['groups_rel']
|
542 |
-
#score_templates_df['Bias Score'] = np.round(test_pairs_df['bias_score'],2)
|
543 |
-
score_templates_df['Stereotyped'] = test_pairs_df['stereotyped_b']
|
544 |
-
|
545 |
-
score_templates_df = score_templates_df.rename(columns = {'att_term': "Attribute",
|
546 |
-
"template": "Template",
|
547 |
-
"sentence": "Sentence",
|
548 |
-
"alt_sentence": "Alternative"})
|
549 |
-
#'Bias Score'
|
550 |
-
score_templates_df = score_templates_df[['Stereotyped','Attribute','Groups','Sentence',"Alternative"]]
|
551 |
-
|
552 |
-
# bloomberg vis
|
553 |
-
attrib_by_score = dict(sorted(per_attrib_bias.items(), key=lambda item: item[1], reverse=True))
|
554 |
-
#print(f"Attrib by score:", attrib_by_score)
|
555 |
-
|
556 |
-
per_attrib_bias_HTML_stereo = ""
|
557 |
-
num_atts = 0
|
558 |
-
for att, score in attrib_by_score.items():
|
559 |
-
if att in attributes_g1:
|
560 |
-
#print(f"Attribute 1: {att}")
|
561 |
-
#per_attrib_bias_HTML_stereo += bv.att_bloombergViz(att, score, att_freqs[att])
|
562 |
-
#num_atts += 1
|
563 |
-
#if num_atts >= 8:
|
564 |
-
# break
|
565 |
-
|
566 |
-
per_attrib_bias_HTML_stereo += bv.att_bloombergViz(att, score, att_freqs[att], test_pairs_df, False, False)
|
567 |
-
num_atts += 1
|
568 |
-
#if num_atts >= 8:
|
569 |
-
# break
|
570 |
-
|
571 |
-
per_attrib_bias_HTML_antistereo = ""
|
572 |
-
num_atts = 0
|
573 |
-
for att, score in attrib_by_score.items():
|
574 |
-
if att in attributes_g2:
|
575 |
-
#print(f"Attribute 2: {att}")
|
576 |
-
#per_attrib_bias_HTML_antistereo += bv.att_bloombergViz(att, score, att_freqs[att], True)
|
577 |
-
#num_atts += 1
|
578 |
-
#if num_atts >= 8:
|
579 |
-
# break
|
580 |
-
|
581 |
-
per_attrib_bias_HTML_antistereo += bv.att_bloombergViz(att, score, att_freqs[att], test_pairs_df, True, True)
|
582 |
-
num_atts += 1
|
583 |
-
#if num_atts >= 8:
|
584 |
-
# break
|
585 |
-
|
586 |
-
interpret_msg = bt_mgr._constructInterpretationMsg(bias_spec, num_sentences,
|
587 |
-
model_name, bias_stats_dict, per_attrib_bias,
|
588 |
-
score_templates_df
|
589 |
-
)
|
590 |
-
|
591 |
-
saveBiasTestResult(test_sentences_df, gr1, gr2, att1, att2, model_name)
|
592 |
-
|
593 |
-
return (err_update, # error message
|
594 |
-
gr.Markdown.update(visible=True), # bar progress
|
595 |
-
gr.Button.update(variant=variants[0], interactive=inter[0]), # top breadcrumb button 1
|
596 |
-
gr.Button.update(variant=variants[1], interactive=inter[1]), # top breadcrumb button 2
|
597 |
-
gr.Button.update(variant=variants[2], interactive=inter[2]), # top breadcrumb button 3
|
598 |
-
gr.update(visible=tabs[0]), # content tab/column 1
|
599 |
-
gr.update(visible=tabs[1]), # content tab/column 2
|
600 |
-
gr.update(visible=tabs[2]), # content tab/column 3
|
601 |
-
model_bias_dict, # per model bias score
|
602 |
-
gr.update(value=per_attrib_bias_HTML_stereo), # per attribute bias score stereotyped
|
603 |
-
gr.update(value=per_attrib_bias_HTML_antistereo), # per attribute bias score antistereotyped
|
604 |
-
gr.update(value=score_templates_df, visible=True), # Pairs with scores
|
605 |
-
gr.update(value=interpret_msg, visible=True), # Interpretation message
|
606 |
-
gr.update(value=', '.join(g1)), # gr1_fixed
|
607 |
-
gr.update(value=', '.join(g2)), # gr2_fixed
|
608 |
-
gr.update(value=', '.join(a1)), # att1_fixed
|
609 |
-
gr.update(value=', '.join(a2)) # att2_fixed
|
610 |
-
)
|
611 |
-
|
612 |
-
# Loading the Interface first time
|
613 |
-
def loadInterface():
|
614 |
-
print("Loading the interface...")
|
615 |
-
#open_ai_key = cookie_mgr.loadOpenAIKey()
|
616 |
-
|
617 |
-
#return gr.Textbox.update(value=open_ai_key)
|
618 |
-
|
619 |
-
# Selecting an attribute label in the label component
|
620 |
-
def selectAttributeLabel(evt: gr.SelectData):
|
621 |
-
print(f"Selected {evt.value} at {evt.index} from {evt.target}")
|
622 |
-
object_methods = [method_name for method_name in dir(evt)
|
623 |
-
if callable(getattr(evt, method_name))]
|
624 |
-
|
625 |
-
print("Attributes:")
|
626 |
-
for att in dir(evt):
|
627 |
-
print (att, getattr(evt,att))
|
628 |
-
|
629 |
-
print(f"Methods: {object_methods}")
|
630 |
-
|
631 |
-
return ()
|
632 |
-
|
633 |
-
# Editing a sentence in DataFrame
|
634 |
-
def editSentence(test_sentences, evt: gr.EventData):
|
635 |
-
print(f"Edit Sentence: {evt}")
|
636 |
-
#print("--BEFORE---")
|
637 |
-
#print(test_sentences[0:10])
|
638 |
-
#print("--AFTER--")
|
639 |
-
#print(f"Data: {evt._data['data'][0:10]}")
|
640 |
-
# print("Attributes:")
|
641 |
-
# for att in dir(evt):
|
642 |
-
# print (att, getattr(evt,att))
|
643 |
-
|
644 |
-
# object_methods = [method_name for method_name in dir(evt)
|
645 |
-
# if callable(getattr(evt, method_name))]
|
646 |
-
|
647 |
-
# print(f"Methods: {object_methods}")
|
648 |
-
|
649 |
-
# exports dataframe as CSV
|
650 |
-
def export_csv(test_pairs, gr1, gr2, att1, att2):
|
651 |
-
bias_spec = getTermsFromGUI(gr1, gr2, att1, att2)
|
652 |
-
|
653 |
-
g1, g2, a1, a2 = bt_mgr.get_words(bias_spec)
|
654 |
-
b_name = rq_mgr.getBiasName(g1, g2, a1, a2)
|
655 |
-
print(f"Exporting test pairs for {b_name}")
|
656 |
-
|
657 |
-
fname = f"test_pairs_{b_name}.csv"
|
658 |
-
|
659 |
-
test_pairs.to_csv(fname)
|
660 |
-
return gr.File.update(value=fname, visible=True)
|
661 |
-
|
662 |
-
# Enable Generation of new sentences, even though not required.
|
663 |
-
def useOnlineGen(value):
|
664 |
-
online_gen_row_update = gr.Row.update(visible=False)
|
665 |
-
num_sentences2gen_update = gr.Slider.update(visible=False)
|
666 |
-
gen_btn_update = gr.Button.update(visible=False)
|
667 |
-
|
668 |
-
gen_title_update = gr.Markdown.update(visible=False)
|
669 |
-
openai_key_update = gr.Textbox.update(visible=False)
|
670 |
-
|
671 |
-
if value == True:
|
672 |
-
print("Check is true...")
|
673 |
-
online_gen_row_update = gr.Row.update(visible=True)
|
674 |
-
num_sentences2gen_update = gr.Slider.update(visible=True)
|
675 |
-
gen_btn_update = gr.Button.update(visible=True, value="Generate Additional Sentences")
|
676 |
-
|
677 |
-
gen_title_update = gr.Markdown.update(visible=True)
|
678 |
-
openai_key_update = gr.Textbox.update(visible=True)
|
679 |
-
else:
|
680 |
-
print("Check is false...")
|
681 |
-
|
682 |
-
return (online_gen_row_update,
|
683 |
-
num_sentences2gen_update,
|
684 |
-
gen_btn_update
|
685 |
-
#gen_title_update,
|
686 |
-
#openai_key_update,
|
687 |
-
)
|
688 |
-
|
689 |
-
def changeTerm(evt: gr.EventData):
|
690 |
-
global G_CORE_BIAS_NAME
|
691 |
-
|
692 |
-
print("Bias is custom now...")
|
693 |
-
|
694 |
-
G_CORE_BIAS_NAME = None
|
695 |
-
|
696 |
-
return gr.update(interactive=False, visible=False)
|
697 |
-
|
698 |
-
def saveBiasTestResult(test_sentences_df, group1, group2, att1, att2, model_name):
|
699 |
-
print(f"Saving bias test result...")
|
700 |
-
|
701 |
-
#print(f"Group_1: {group1}")
|
702 |
-
#print(f"Group_2: {group2}")
|
703 |
-
|
704 |
-
#print(f"Attribute_1: {att1}")
|
705 |
-
#print(f"Attribute_2: {att2}")
|
706 |
-
|
707 |
-
print(f"Tested model: {model_name}")
|
708 |
-
terms = getTermsFromGUI(group1, group2, att1, att2)
|
709 |
-
group1, group2 = bmgr.getSocialGroupTerms(terms)
|
710 |
-
att1, att2 = bmgr.getAttributeTerms(terms)
|
711 |
-
|
712 |
-
bias_name = rq_mgr.getBiasName(group1, group2, att1, att2)
|
713 |
-
|
714 |
-
print(f"bias_name: {bias_name}")
|
715 |
-
print(f"Terms: {terms}")
|
716 |
-
|
717 |
-
bias_spec_json = {
|
718 |
-
"name": bias_name,
|
719 |
-
"source": "bias-test-gpt-tool",
|
720 |
-
"social_groups": terms['social_groups'],
|
721 |
-
"attributes": terms['attributes'],
|
722 |
-
"tested_results": {
|
723 |
-
"tested_model": model_name
|
724 |
-
},
|
725 |
-
"templates": [],
|
726 |
-
"sentences": []
|
727 |
-
}
|
728 |
-
|
729 |
-
bmgr.save_custom_bias(f"{bias_name}.json", bias_spec_json)
|
730 |
-
|
731 |
-
#return gr.update(value="Bias test result saved!", visible=True)
|
732 |
-
|
733 |
-
theme = gr.themes.Soft().set(
|
734 |
-
button_small_radius='*radius_xxs',
|
735 |
-
background_fill_primary='*neutral_50',
|
736 |
-
border_color_primary='*primary_50'
|
737 |
-
)
|
738 |
-
|
739 |
-
soft = gr.themes.Soft(
|
740 |
-
primary_hue="slate",
|
741 |
-
spacing_size="sm",
|
742 |
-
radius_size="md"
|
743 |
-
).set(
|
744 |
-
# body_background_fill="white",
|
745 |
-
button_primary_background_fill='*primary_400'
|
746 |
-
)
|
747 |
-
|
748 |
-
css_adds = "#group_row {background: white; border-color: white;} \
|
749 |
-
#attribute_row {background: white; border-color: white;} \
|
750 |
-
#tested_model_row {background: white; border-color: white;} \
|
751 |
-
#button_row {background: white; border-color: white} \
|
752 |
-
#examples_elem .label {display: none}\
|
753 |
-
#att1_words {border-color: white;} \
|
754 |
-
#att2_words {border-color: white;} \
|
755 |
-
#group1_words {border-color: white;} \
|
756 |
-
#group2_words {border-color: white;} \
|
757 |
-
#att1_words_fixed {border-color: white;} \
|
758 |
-
#att2_words_fixed {border-color: white;} \
|
759 |
-
#group1_words_fixed {border-color: white;} \
|
760 |
-
#group2_words_fixed {border-color: white;} \
|
761 |
-
#att1_words_fixed input {box-shadow:None; border-width:0} \
|
762 |
-
#att1_words_fixed .scroll-hide {box-shadow:None; border-width:0} \
|
763 |
-
#att2_words_fixed input {box-shadow:None; border-width:0} \
|
764 |
-
#att2_words_fixed .scroll-hide {box-shadow:None; border-width:0} \
|
765 |
-
#group1_words_fixed input {box-shadow:None; border-width:0} \
|
766 |
-
#group1_words_fixed .scroll-hide {box-shadow:None; border-width:0} \
|
767 |
-
#group2_words_fixed input {box-shadow:None; border-width:0} \
|
768 |
-
#group2_words_fixed .scroll-hide {box-shadow:None; border-width:0} \
|
769 |
-
#tested_model_drop {border-color: white;} \
|
770 |
-
#gen_model_check {border-color: white;} \
|
771 |
-
#gen_model_check .wrap {border-color: white;} \
|
772 |
-
#gen_model_check .form {border-color: white;} \
|
773 |
-
#open_ai_key_box {border-color: white;} \
|
774 |
-
#gen_col {border-color: white;} \
|
775 |
-
#gen_col .form {border-color: white;} \
|
776 |
-
#res_label {background-color: #F8FAFC;} \
|
777 |
-
#per_attrib_label_elem {background-color: #F8FAFC;} \
|
778 |
-
#accordion {border-color: #E5E7EB} \
|
779 |
-
#err_msg_elem p {color: #FF0000; cursor: pointer} \
|
780 |
-
#res_label .bar {background-color: #35d4ac; } \
|
781 |
-
#bloomberg_legend {background: white; border-color: white} \
|
782 |
-
#bloomberg_att1 {background: white; border-color: white} \
|
783 |
-
#bloomberg_att2 {background: white; border-color: white} \
|
784 |
-
.tooltiptext_left {visibility: hidden;max-width:50ch;min-width:25ch;top: 100%;left: 0%;background-color: #222;text-align: center;border-radius: 6px;padding: 5px 0;position: absolute;z-index: 1;} \
|
785 |
-
.tooltiptext_right {visibility: hidden;max-width:50ch;min-width:25ch;top: 100%;right: 0%;background-color: #222;text-align: center;border-radius: 6px;padding: 5px 0;position: absolute;z-index: 1;} \
|
786 |
-
#filled:hover .tooltiptext_left {visibility: visible;} \
|
787 |
-
#empty:hover .tooltiptext_left {visibility: visible;} \
|
788 |
-
#filled:hover .tooltiptext_right {visibility: visible;} \
|
789 |
-
#empty:hover .tooltiptext_right {visibility: visible;}"
|
790 |
-
|
791 |
-
#'bethecloud/storj_theme'
|
792 |
-
with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
|
793 |
-
css=css_adds) as iface:
|
794 |
-
with gr.Row():
|
795 |
-
with gr.Group():
|
796 |
-
s1_btn = gr.Button(value="Step 1: Bias Specification", variant="primary", visible=True, interactive=True, size='sm')#.style(size='sm')
|
797 |
-
s2_btn = gr.Button(value="Step 2: Test Sentences", variant="secondary", visible=True, interactive=False, size='sm')#.style(size='sm')
|
798 |
-
s3_btn = gr.Button(value="Step 3: Bias Testing", variant="secondary", visible=True, interactive=False, size='sm')#.style(size='sm')
|
799 |
-
err_message = gr.Markdown("", visible=False, elem_id="err_msg_elem")
|
800 |
-
bar_progress = gr.Markdown(" ")
|
801 |
-
|
802 |
-
# Page 1
|
803 |
-
with gr.Column(visible=True) as tab1:
|
804 |
-
with gr.Column():
|
805 |
-
gr.Markdown("### Social Bias Specification")
|
806 |
-
gr.Markdown("Use one of the predefined specifications or enter own terms for social groups and attributes")
|
807 |
-
with gr.Row():
|
808 |
-
example_biases = gr.Dropdown(
|
809 |
-
value="Select a predefined bias to test",
|
810 |
-
allow_custom_value=False,
|
811 |
-
interactive=True,
|
812 |
-
choices=[
|
813 |
-
#"Flowers/Insects <> Pleasant/Unpleasant",
|
814 |
-
#"Instruments/Weapons <> Pleasant/Unpleasant",
|
815 |
-
"Male/Female <> Professions",
|
816 |
-
"Male/Female <> Science/Art",
|
817 |
-
"Male/Female <> Career/Family",
|
818 |
-
"Male/Female <> Math/Art",
|
819 |
-
"Eur.-American/Afr.-American <> Pleasant/Unpleasant #1",
|
820 |
-
"Eur.-American/Afr.-American <> Pleasant/Unpleasant #2",
|
821 |
-
"Eur.-American/Afr.-American <> Pleasant/Unpleasant #3",
|
822 |
-
"African-Female/European-Male <> Intersectional",
|
823 |
-
"African-Female/European-Male <> Emergent",
|
824 |
-
"Mexican-Female/European-Male <> Intersectional",
|
825 |
-
"Mexican-Female/European-Male <> Emergent",
|
826 |
-
"Young/Old Name <> Pleasant/Unpleasant",
|
827 |
-
#"Mental/Physical Disease <> Temporary/Permanent",
|
828 |
-
# Custom Biases
|
829 |
-
"Male/Female <> Care/Expertise",
|
830 |
-
"Hispanic/Caucasian <> Treatment-Adherence",
|
831 |
-
"Afr.-American/Eur.American <> Risky-Health-Behaviors"
|
832 |
-
], label="Example Biases", #info="Select a predefied bias specification to fill-out the terms below."
|
833 |
-
)
|
834 |
-
with gr.Row(elem_id="group_row"):
|
835 |
-
group1 = gr.Textbox(label="Social Group 1", max_lines=1, elem_id="group1_words", elem_classes="input_words", placeholder="brother, father")
|
836 |
-
group2 = gr.Textbox(label='Social Group 2', max_lines=1, elem_id="group2_words", elem_classes="input_words", placeholder="sister, mother")
|
837 |
-
with gr.Row(elem_id="attribute_row"):
|
838 |
-
att1 = gr.Textbox(label='Stereotype for Group 1', max_lines=1, elem_id="att1_words", elem_classes="input_words", placeholder="science, technology")
|
839 |
-
att2 = gr.Textbox(label='Anti-stereotype for Group 1', max_lines=1, elem_id="att2_words", elem_classes="input_words", placeholder="poetry, art")
|
840 |
-
with gr.Row():
|
841 |
-
gr.Markdown(" ")
|
842 |
-
get_sent_btn = gr.Button(value="Get Sentences", variant="primary", visible=True)
|
843 |
-
gr.Markdown(" ")
|
844 |
-
|
845 |
-
# Page 2
|
846 |
-
with gr.Column(visible=False) as tab2:
|
847 |
-
info_sentences_found = gr.Markdown(value="", visible=False)
|
848 |
-
|
849 |
-
gr.Markdown("### Tested Social Bias Specification", visible=True)
|
850 |
-
with gr.Row():
|
851 |
-
group1_fixed = gr.Textbox(label="Social Group 1", max_lines=1, elem_id="group1_words_fixed", elem_classes="input_words", interactive=False, visible=True)
|
852 |
-
group2_fixed = gr.Textbox(label='Social Group 2', max_lines=1, elem_id="group2_words_fixed", elem_classes="input_words", interactive=False, visible=True)
|
853 |
-
with gr.Row():
|
854 |
-
att1_fixed = gr.Textbox(label='Stereotype for Group 1', max_lines=1, elem_id="att1_words_fixed", elem_classes="input_words", interactive=False, visible=True)
|
855 |
-
att2_fixed = gr.Textbox(label='Anti-stereotype for Group 1', max_lines=1, elem_id="att2_words_fixed", elem_classes="input_words", interactive=False, visible=True)
|
856 |
-
|
857 |
-
with gr.Row():
|
858 |
-
with gr.Column():
|
859 |
-
additional_gen_check = gr.Checkbox(label="Generate Additional Sentences with ChatGPT (requires Open AI Key)",
|
860 |
-
visible=False, interactive=True,
|
861 |
-
value=False,
|
862 |
-
elem_id="gen_model_check")
|
863 |
-
with gr.Row(visible=False) as online_gen_row:
|
864 |
-
with gr.Column():
|
865 |
-
gen_title = gr.Markdown("### Generate Additional Sentences", visible=True)
|
866 |
-
|
867 |
-
# OpenAI Key for generator
|
868 |
-
openai_key = gr.Textbox(lines=1, label="OpenAI API Key", value=None,
|
869 |
-
placeholder="starts with sk-",
|
870 |
-
info="Please provide the key for an Open AI account to generate new test sentences",
|
871 |
-
visible=True,
|
872 |
-
interactive=True,
|
873 |
-
elem_id="open_ai_key_box")
|
874 |
-
num_sentences2gen = gr.Slider(1, 20, value=5, step=1,
|
875 |
-
interactive=True,
|
876 |
-
visible=True,
|
877 |
-
info="Five or more per attribute are recommended for a good bias estimate.",
|
878 |
-
label="Number of test sentences to generate per attribute", container=True)#.style(container=True) #, info="Number of Sentences to Generate")
|
879 |
-
|
880 |
-
with gr.Row(visible=False) as tested_model_row:
|
881 |
-
with gr.Column():
|
882 |
-
gen_title = gr.Markdown("### Select Tested Model", visible=True)
|
883 |
-
|
884 |
-
# Tested Model Selection - "openlm-research/open_llama_7b", "tiiuae/falcon-7b"
|
885 |
-
tested_model_name = gr.Dropdown( ["bert-base-uncased","bert-large-uncased","gpt2","gpt2-medium","gpt2-large","emilyalsentzer/Bio_ClinicalBERT","microsoft/biogpt","openlm-research/open_llama_3b","openlm-research/open_llama_7b"], value="bert-base-uncased",
|
886 |
-
multiselect=None,
|
887 |
-
interactive=True,
|
888 |
-
label="Tested Language Model",
|
889 |
-
elem_id="tested_model_drop",
|
890 |
-
visible=True
|
891 |
-
#info="Select the language model to test for social bias."
|
892 |
-
)
|
893 |
-
|
894 |
-
with gr.Row():
|
895 |
-
gr.Markdown(" ")
|
896 |
-
gen_btn = gr.Button(value="Generate New Sentences", variant="primary", visible=True)
|
897 |
-
bias_btn = gr.Button(value="Test Model for Social Bias", variant="primary", visible=False)
|
898 |
-
gr.Markdown(" ")
|
899 |
-
|
900 |
-
with gr.Row(visible=False) as row_sentences:
|
901 |
-
with gr.Accordion(label="Test Sentences", open=False, visible=False) as acc_test_sentences:
|
902 |
-
test_sentences = gr.DataFrame(
|
903 |
-
headers=["Sentence", "Alternative Sentence", "Group term 1", "Group term 2", "Attribute term"],
|
904 |
-
datatype=["str", "str", "str", "str", "str"],
|
905 |
-
row_count=(1, 'dynamic'),
|
906 |
-
col_count=(5, 'fixed'),
|
907 |
-
interactive=True,
|
908 |
-
visible=True,
|
909 |
-
#label="Generated Test Sentences",
|
910 |
-
max_rows=2,
|
911 |
-
overflow_row_behaviour="paginate")
|
912 |
-
|
913 |
-
# Page 3
|
914 |
-
with gr.Column(visible=False) as tab3:
|
915 |
-
gr.Markdown("### Tested Social Bias Specification")
|
916 |
-
with gr.Row():
|
917 |
-
group1_fixed2 = gr.Textbox(label="Social Group 1", max_lines=1, elem_id="group1_words_fixed", elem_classes="input_words", interactive=False)
|
918 |
-
group2_fixed2 = gr.Textbox(label='Social Group 2', max_lines=1, elem_id="group2_words_fixed", elem_classes="input_words", interactive=False)
|
919 |
-
with gr.Row():
|
920 |
-
att1_fixed2 = gr.Textbox(label='Stereotype for Group 1', max_lines=1, elem_id="att1_words_fixed", elem_classes="input_words", interactive=False)
|
921 |
-
att2_fixed2 = gr.Textbox(label='Anti-stereotype for Group 1', max_lines=1, elem_id="att2_words_fixed", elem_classes="input_words", interactive=False)
|
922 |
-
|
923 |
-
with gr.Row():
|
924 |
-
with gr.Column(scale=2):
|
925 |
-
gr.Markdown("### Bias Test Results")
|
926 |
-
#with gr.Column(scale=1):
|
927 |
-
# gr.Markdown("### Interpretation")
|
928 |
-
with gr.Row():
|
929 |
-
with gr.Column(scale=2):
|
930 |
-
lbl_model_bias = gr.Markdown("**Model Bias** - % stereotyped choices (↑ more bias)")
|
931 |
-
model_bias_label = gr.Label(num_top_classes=1, label="% stereotyped choices (↑ more bias)",
|
932 |
-
elem_id="res_label",
|
933 |
-
show_label=False)
|
934 |
-
with gr.Accordion("Additional Interpretation", open=False, visible=True):
|
935 |
-
interpretation_msg = gr.HTML(value="Interpretation: Stereotype Score metric details in <a href='https://arxiv.org/abs/2004.09456'>Nadeem'20<a>", visible=False)
|
936 |
-
|
937 |
-
lbl_attrib_bias = gr.Markdown("**Bias in the Context of Attributes** - % stereotyped choices (↑ more bias)")
|
938 |
-
#gr.Markdown("**Legend**")
|
939 |
-
#attribute_bias_labels = gr.Label(num_top_classes=8, label="Per attribute: % stereotyped choices (↑ more bias)",
|
940 |
-
# elem_id="per_attrib_label_elem",
|
941 |
-
# show_label=False)
|
942 |
-
#with gr.Column(scale=1):
|
943 |
-
with gr.Row():
|
944 |
-
with gr.Column(variant="compact", elem_id="bloomberg_legend"):
|
945 |
-
gr.HTML("<div style='height:20px;width:20px;background-color:#065b41;display:inline-block;vertical-align:top'></div><div style='display:inline-block;vertical-align:top'> Group 1 more probable in the sentence </div> <div style='height:20px;width:20px;background-color:#35d4ac;display:inline-block;vertical-align:top'></div><div style='display:inline-block;vertical-align:top'> Group 2 more probable in the sentence </div>")
|
946 |
-
|
947 |
-
with gr.Row():
|
948 |
-
with gr.Column(variant="compact", elem_id="bloomberg_att1"):
|
949 |
-
gr.Markdown("#### Attribute Group 1")
|
950 |
-
attribute_bias_html_stereo = gr.HTML()
|
951 |
-
with gr.Column(variant="compact", elem_id="bloomberg_att2"):
|
952 |
-
gr.Markdown("#### Attribute Group 2")
|
953 |
-
attribute_bias_html_antistereo = gr.HTML()
|
954 |
-
|
955 |
-
gr.HTML(value="Visualization inspired by <a href='https://www.bloomberg.com/graphics/2023-generative-ai-bias/' target='_blank'>Bloomberg article on bias in text-to-image models</a>.")
|
956 |
-
save_msg = gr.HTML(value="<span style=\"color:black\">Bias test result saved! </span>",
|
957 |
-
visible=False)
|
958 |
-
|
959 |
-
with gr.Row():
|
960 |
-
with gr.Column(scale=2):
|
961 |
-
with gr.Accordion("Per Sentence Bias Results", open=False, visible=True):
|
962 |
-
test_pairs = gr.DataFrame(
|
963 |
-
headers=["group_term", "template", "att_term_1", "att_term_2","label_1","label_2"],
|
964 |
-
datatype=["str", "str", "str", "str", "str", "str"],
|
965 |
-
row_count=(1, 'dynamic'),
|
966 |
-
#label="Bias Test Results Per Test Sentence Template",
|
967 |
-
max_rows=2,
|
968 |
-
overflow_row_behaviour="paginate"
|
969 |
-
)
|
970 |
-
with gr.Row():
|
971 |
-
# export button
|
972 |
-
gr.Markdown(" ")
|
973 |
-
with gr.Column():
|
974 |
-
exp_button = gr.Button("Export Test Sentences as CSV", variant="primary")
|
975 |
-
csv = gr.File(interactive=False, visible=False)
|
976 |
-
new_bias_button = gr.Button("Try New Bias Test", variant="primary")
|
977 |
-
gr.Markdown(" ")
|
978 |
-
|
979 |
-
|
980 |
-
# initial interface load
|
981 |
-
#iface.load(fn=loadInterface,
|
982 |
-
# inputs=[],
|
983 |
-
# outputs=[openai_key])
|
984 |
-
|
985 |
-
# select from predefined bias specifications
|
986 |
-
example_biases.select(fn=prefillBiasSpec,
|
987 |
-
inputs=None,
|
988 |
-
outputs=[group1, group2, att1, att2, csv])
|
989 |
-
|
990 |
-
# Get sentences
|
991 |
-
get_sent_btn.click(fn=retrieveSentences,
|
992 |
-
inputs=[group1, group2, att1, att2],
|
993 |
-
outputs=[err_message, online_gen_row, additional_gen_check, num_sentences2gen,
|
994 |
-
tested_model_row, #tested_model_name,
|
995 |
-
info_sentences_found, bar_progress,
|
996 |
-
s1_btn, s2_btn, s3_btn, tab1, tab2, acc_test_sentences,
|
997 |
-
row_sentences, test_sentences, gen_btn, bias_btn,
|
998 |
-
group1_fixed, group2_fixed, att1_fixed, att2_fixed ])
|
999 |
-
|
1000 |
-
# request getting sentences
|
1001 |
-
gen_btn.click(fn=generateSentences,
|
1002 |
-
inputs=[group1, group2, att1, att2, openai_key, num_sentences2gen],
|
1003 |
-
outputs=[err_message, info_sentences_found, online_gen_row, #num_sentences2gen,
|
1004 |
-
tested_model_row, #tested_model_name,
|
1005 |
-
acc_test_sentences, row_sentences, test_sentences, gen_btn, bias_btn ])
|
1006 |
-
|
1007 |
-
# Test bias
|
1008 |
-
bias_btn.click(fn=startBiasTest,
|
1009 |
-
inputs=[test_sentences,group1,group2,att1,att2,tested_model_name],
|
1010 |
-
outputs=[err_message, bar_progress, s1_btn, s2_btn, s3_btn, tab1, tab2, tab3, model_bias_label,
|
1011 |
-
attribute_bias_html_stereo, attribute_bias_html_antistereo, test_pairs,
|
1012 |
-
interpretation_msg, group1_fixed2, group2_fixed2, att1_fixed2, att2_fixed2]
|
1013 |
-
)
|
1014 |
-
|
1015 |
-
# top breadcrumbs
|
1016 |
-
s1_btn.click(fn=moveStep1,
|
1017 |
-
inputs=[],
|
1018 |
-
outputs=[s1_btn, s2_btn, s3_btn, tab1, tab2, tab3])
|
1019 |
-
|
1020 |
-
# top breadcrumbs
|
1021 |
-
s2_btn.click(fn=moveStep2,
|
1022 |
-
inputs=[],
|
1023 |
-
outputs=[s1_btn, s2_btn, s3_btn, tab1, tab2, tab3, additional_gen_check])
|
1024 |
-
|
1025 |
-
# top breadcrumbs
|
1026 |
-
s3_btn.click(fn=moveStep3,
|
1027 |
-
inputs=[],
|
1028 |
-
outputs=[s1_btn, s2_btn, s3_btn, tab1, tab2, tab3])
|
1029 |
-
|
1030 |
-
# start testing new bias
|
1031 |
-
new_bias_button.click(fn=moveStep1_clear,
|
1032 |
-
inputs=[],
|
1033 |
-
outputs=[s1_btn, s2_btn, s3_btn, tab1, tab2, tab3, group1, group2, att1, att2])
|
1034 |
-
|
1035 |
-
|
1036 |
-
# Additional Interactions
|
1037 |
-
#attribute_bias_labels.select(fn=selectAttributeLabel,
|
1038 |
-
# inputs=[],
|
1039 |
-
# outputs=[])
|
1040 |
-
|
1041 |
-
# Editing a sentence
|
1042 |
-
test_sentences.change(fn=editSentence,
|
1043 |
-
inputs=[test_sentences],
|
1044 |
-
outputs=[]
|
1045 |
-
)
|
1046 |
-
|
1047 |
-
# tick checkbox to use online generation
|
1048 |
-
additional_gen_check.change(fn=useOnlineGen,
|
1049 |
-
inputs=[additional_gen_check],
|
1050 |
-
outputs=[online_gen_row, num_sentences2gen, gen_btn])#, gen_title, openai_key])
|
1051 |
-
|
1052 |
-
exp_button.click(export_csv,
|
1053 |
-
inputs=[test_pairs, group1, group2, att1, att2],
|
1054 |
-
outputs=[csv])
|
1055 |
-
|
1056 |
-
# Changing any of the bias specification terms
|
1057 |
-
group1.change(fn=changeTerm, inputs=[], outputs=[csv])
|
1058 |
-
group2.change(fn=changeTerm, inputs=[], outputs=[csv])
|
1059 |
-
att1.change(fn=changeTerm, inputs=[], outputs=[csv])
|
1060 |
-
att2.change(fn=changeTerm, inputs=[], outputs=[csv])
|
1061 |
-
|
1062 |
-
iface.queue(concurrency_count=2).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AnnasBlackHat/Image-Similarity/src/similarity/model_implements/bit.py
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
import tensorflow_hub as hub
|
2 |
-
import numpy as np
|
3 |
-
|
4 |
-
class BigTransfer:
|
5 |
-
|
6 |
-
def __init__(self):
|
7 |
-
self.module = hub.KerasLayer("https://tfhub.dev/google/bit/m-r50x1/1")
|
8 |
-
|
9 |
-
def extract_feature(self, imgs):
|
10 |
-
features = []
|
11 |
-
for img in imgs:
|
12 |
-
features.append(np.squeeze(self.module(img)))
|
13 |
-
return features
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/mmseg/datasets/voc.py
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
import os.path as osp
|
2 |
-
|
3 |
-
from .builder import DATASETS
|
4 |
-
from .custom import CustomDataset
|
5 |
-
|
6 |
-
|
7 |
-
@DATASETS.register_module()
|
8 |
-
class PascalVOCDataset(CustomDataset):
|
9 |
-
"""Pascal VOC dataset.
|
10 |
-
|
11 |
-
Args:
|
12 |
-
split (str): Split txt file for Pascal VOC.
|
13 |
-
"""
|
14 |
-
|
15 |
-
CLASSES = ('background', 'aeroplane', 'bicycle', 'bird', 'boat', 'bottle',
|
16 |
-
'bus', 'car', 'cat', 'chair', 'cow', 'diningtable', 'dog',
|
17 |
-
'horse', 'motorbike', 'person', 'pottedplant', 'sheep', 'sofa',
|
18 |
-
'train', 'tvmonitor')
|
19 |
-
|
20 |
-
PALETTE = [[0, 0, 0], [128, 0, 0], [0, 128, 0], [128, 128, 0], [0, 0, 128],
|
21 |
-
[128, 0, 128], [0, 128, 128], [128, 128, 128], [64, 0, 0],
|
22 |
-
[192, 0, 0], [64, 128, 0], [192, 128, 0], [64, 0, 128],
|
23 |
-
[192, 0, 128], [64, 128, 128], [192, 128, 128], [0, 64, 0],
|
24 |
-
[128, 64, 0], [0, 192, 0], [128, 192, 0], [0, 64, 128]]
|
25 |
-
|
26 |
-
def __init__(self, split, **kwargs):
|
27 |
-
super(PascalVOCDataset, self).__init__(
|
28 |
-
img_suffix='.jpg', seg_map_suffix='.png', split=split, **kwargs)
|
29 |
-
assert osp.exists(self.img_dir) and self.split is not None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Anthony7906/MengHuiMXD_GPT/assets/Kelpy-Codos.js
DELETED
@@ -1,76 +0,0 @@
|
|
1 |
-
// ==UserScript==
|
2 |
-
// @name Kelpy Codos
|
3 |
-
// @namespace https://github.com/Keldos-Li/Kelpy-Codos
|
4 |
-
// @version 1.0.5
|
5 |
-
// @author Keldos; https://keldos.me/
|
6 |
-
// @description Add copy button to PRE tags before CODE tag, for Chuanhu ChatGPT especially.
|
7 |
-
// Based on Chuanhu ChatGPT version: ac04408 (2023-3-22)
|
8 |
-
// @license GPL-3.0
|
9 |
-
// @grant none
|
10 |
-
// ==/UserScript==
|
11 |
-
|
12 |
-
(function () {
|
13 |
-
'use strict';
|
14 |
-
|
15 |
-
function addCopyButton(pre) {
|
16 |
-
var code = pre.querySelector('code');
|
17 |
-
if (!code) {
|
18 |
-
return; // 如果没有找到 <code> 元素,则不添加按钮
|
19 |
-
}
|
20 |
-
var firstChild = code.firstChild;
|
21 |
-
if (!firstChild) {
|
22 |
-
return; // 如果 <code> 元素没有子节点,则不添加按钮
|
23 |
-
}
|
24 |
-
var button = document.createElement('button');
|
25 |
-
button.textContent = '\uD83D\uDCCE'; // 使用 📎 符号作为“复制”按钮的文本
|
26 |
-
button.style.position = 'relative';
|
27 |
-
button.style.float = 'right';
|
28 |
-
button.style.fontSize = '1em'; // 可选:调整按钮大小
|
29 |
-
button.style.background = 'none'; // 可选:去掉背景颜色
|
30 |
-
button.style.border = 'none'; // 可选:去掉边框
|
31 |
-
button.style.cursor = 'pointer'; // 可选:显示指针样式
|
32 |
-
button.addEventListener('click', function () {
|
33 |
-
var range = document.createRange();
|
34 |
-
range.selectNodeContents(code);
|
35 |
-
range.setStartBefore(firstChild); // 将范围设置为第一个子节点之前
|
36 |
-
var selection = window.getSelection();
|
37 |
-
selection.removeAllRanges();
|
38 |
-
selection.addRange(range);
|
39 |
-
|
40 |
-
try {
|
41 |
-
var success = document.execCommand('copy');
|
42 |
-
if (success) {
|
43 |
-
button.textContent = '\u2714';
|
44 |
-
setTimeout(function () {
|
45 |
-
button.textContent = '\uD83D\uDCCE'; // 恢复按钮为“复制”
|
46 |
-
}, 2000);
|
47 |
-
} else {
|
48 |
-
button.textContent = '\u2716';
|
49 |
-
}
|
50 |
-
} catch (e) {
|
51 |
-
console.error(e);
|
52 |
-
button.textContent = '\u2716';
|
53 |
-
}
|
54 |
-
|
55 |
-
selection.removeAllRanges();
|
56 |
-
});
|
57 |
-
code.insertBefore(button, firstChild); // 将按钮插入到第一个子元素之前
|
58 |
-
}
|
59 |
-
|
60 |
-
function handleNewElements(mutationsList, observer) {
|
61 |
-
for (var mutation of mutationsList) {
|
62 |
-
if (mutation.type === 'childList') {
|
63 |
-
for (var node of mutation.addedNodes) {
|
64 |
-
if (node.nodeName === 'PRE') {
|
65 |
-
addCopyButton(node);
|
66 |
-
}
|
67 |
-
}
|
68 |
-
}
|
69 |
-
}
|
70 |
-
}
|
71 |
-
|
72 |
-
var observer = new MutationObserver(handleNewElements);
|
73 |
-
observer.observe(document.documentElement, { childList: true, subtree: true });
|
74 |
-
|
75 |
-
document.querySelectorAll('pre').forEach(addCopyButton);
|
76 |
-
})();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Axolotlily/SketchThing/app.py
DELETED
@@ -1,121 +0,0 @@
|
|
1 |
-
import numpy as np
|
2 |
-
import torch
|
3 |
-
import torch.nn as nn
|
4 |
-
import gradio as gr
|
5 |
-
from PIL import Image
|
6 |
-
import torchvision.transforms as transforms
|
7 |
-
|
8 |
-
norm_layer = nn.InstanceNorm2d
|
9 |
-
|
10 |
-
class ResidualBlock(nn.Module):
|
11 |
-
def __init__(self, in_features):
|
12 |
-
super(ResidualBlock, self).__init__()
|
13 |
-
|
14 |
-
conv_block = [ nn.ReflectionPad2d(1),
|
15 |
-
nn.Conv2d(in_features, in_features, 3),
|
16 |
-
norm_layer(in_features),
|
17 |
-
nn.ReLU(inplace=True),
|
18 |
-
nn.ReflectionPad2d(1),
|
19 |
-
nn.Conv2d(in_features, in_features, 3),
|
20 |
-
norm_layer(in_features)
|
21 |
-
]
|
22 |
-
|
23 |
-
self.conv_block = nn.Sequential(*conv_block)
|
24 |
-
|
25 |
-
def forward(self, x):
|
26 |
-
return x + self.conv_block(x)
|
27 |
-
|
28 |
-
|
29 |
-
class Generator(nn.Module):
|
30 |
-
def __init__(self, input_nc, output_nc, n_residual_blocks=9, sigmoid=True):
|
31 |
-
super(Generator, self).__init__()
|
32 |
-
|
33 |
-
# Initial convolution block
|
34 |
-
model0 = [ nn.ReflectionPad2d(3),
|
35 |
-
nn.Conv2d(input_nc, 64, 7),
|
36 |
-
norm_layer(64),
|
37 |
-
nn.ReLU(inplace=True) ]
|
38 |
-
self.model0 = nn.Sequential(*model0)
|
39 |
-
|
40 |
-
# Downsampling
|
41 |
-
model1 = []
|
42 |
-
in_features = 64
|
43 |
-
out_features = in_features*2
|
44 |
-
for _ in range(2):
|
45 |
-
model1 += [ nn.Conv2d(in_features, out_features, 3, stride=2, padding=1),
|
46 |
-
norm_layer(out_features),
|
47 |
-
nn.ReLU(inplace=True) ]
|
48 |
-
in_features = out_features
|
49 |
-
out_features = in_features*2
|
50 |
-
self.model1 = nn.Sequential(*model1)
|
51 |
-
|
52 |
-
model2 = []
|
53 |
-
# Residual blocks
|
54 |
-
for _ in range(n_residual_blocks):
|
55 |
-
model2 += [ResidualBlock(in_features)]
|
56 |
-
self.model2 = nn.Sequential(*model2)
|
57 |
-
|
58 |
-
# Upsampling
|
59 |
-
model3 = []
|
60 |
-
out_features = in_features//2
|
61 |
-
for _ in range(2):
|
62 |
-
model3 += [ nn.ConvTranspose2d(in_features, out_features, 3, stride=2, padding=1, output_padding=1),
|
63 |
-
norm_layer(out_features),
|
64 |
-
nn.ReLU(inplace=True) ]
|
65 |
-
in_features = out_features
|
66 |
-
out_features = in_features//2
|
67 |
-
self.model3 = nn.Sequential(*model3)
|
68 |
-
|
69 |
-
# Output layer
|
70 |
-
model4 = [ nn.ReflectionPad2d(3),
|
71 |
-
nn.Conv2d(64, output_nc, 7)]
|
72 |
-
if sigmoid:
|
73 |
-
model4 += [nn.Sigmoid()]
|
74 |
-
|
75 |
-
self.model4 = nn.Sequential(*model4)
|
76 |
-
|
77 |
-
def forward(self, x, cond=None):
|
78 |
-
out = self.model0(x)
|
79 |
-
out = self.model1(out)
|
80 |
-
out = self.model2(out)
|
81 |
-
out = self.model3(out)
|
82 |
-
out = self.model4(out)
|
83 |
-
|
84 |
-
return out
|
85 |
-
|
86 |
-
model1 = Generator(3, 1, 3)
|
87 |
-
model1.load_state_dict(torch.load('model.pth', map_location=torch.device('cpu')))
|
88 |
-
model1.eval()
|
89 |
-
|
90 |
-
model2 = Generator(3, 1, 3)
|
91 |
-
model2.load_state_dict(torch.load('model2.pth', map_location=torch.device('cpu')))
|
92 |
-
model2.eval()
|
93 |
-
|
94 |
-
def predict(input_img, ver):
|
95 |
-
input_img = Image.open(input_img)
|
96 |
-
transform = transforms.Compose([transforms.Resize(512, Image.BICUBIC), transforms.ToTensor()])
|
97 |
-
input_img = transform(input_img)
|
98 |
-
input_img = torch.unsqueeze(input_img, 0)
|
99 |
-
|
100 |
-
drawing = 0
|
101 |
-
with torch.no_grad():
|
102 |
-
if ver == 'Simple Lines':
|
103 |
-
drawing = model2(input_img)[0].detach()
|
104 |
-
else:
|
105 |
-
drawing = model1(input_img)[0].detach()
|
106 |
-
|
107 |
-
drawing = transforms.ToPILImage()(drawing)
|
108 |
-
return drawing
|
109 |
-
|
110 |
-
title="Image to Line Drawings - Complex and Simple Portraits and Landscapes"
|
111 |
-
description="Image to Line Drawing"
|
112 |
-
# article = "<p style='text-align: center'></p>"
|
113 |
-
examples=[
|
114 |
-
]
|
115 |
-
|
116 |
-
|
117 |
-
iface = gr.Interface(predict, [gr.inputs.Image(type='filepath'),
|
118 |
-
gr.inputs.Radio(['Complex Lines','Simple Lines'], type="value", default='Simple Lines', label='version')],
|
119 |
-
gr.outputs.Image(type="pil"), title=title,description=description,examples=examples)
|
120 |
-
|
121 |
-
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/AymanKUMA/Speech-Bubbles-detector/README.md
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Speech Bubbles Detector
|
3 |
-
emoji: 🐢
|
4 |
-
colorFrom: purple
|
5 |
-
colorTo: yellow
|
6 |
-
sdk: streamlit
|
7 |
-
sdk_version: 1.17.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Bart92/RVC_HF/Applio-RVC-Fork/utils/backups_test.py
DELETED
@@ -1,138 +0,0 @@
|
|
1 |
-
|
2 |
-
import os
|
3 |
-
import shutil
|
4 |
-
import hashlib
|
5 |
-
import time
|
6 |
-
|
7 |
-
LOGS_FOLDER = '/content/Applio-RVC-Fork/logs'
|
8 |
-
WEIGHTS_FOLDER = '/content/Applio-RVC-Fork/weights'
|
9 |
-
GOOGLE_DRIVE_PATH = '/content/drive/MyDrive/RVC_Backup'
|
10 |
-
|
11 |
-
def import_google_drive_backup():
|
12 |
-
print("Importing Google Drive backup...")
|
13 |
-
GOOGLE_DRIVE_PATH = '/content/drive/MyDrive/RVC_Backup' # change this to your Google Drive path
|
14 |
-
LOGS_FOLDER = '/content/Applio-RVC-Fork/logs'
|
15 |
-
WEIGHTS_FOLDER = '/content/Applio-RVC-Fork/weights'
|
16 |
-
weights_exist = False
|
17 |
-
files_to_copy = []
|
18 |
-
weights_to_copy = []
|
19 |
-
|
20 |
-
def handle_files(root, files, is_weight_files=False):
|
21 |
-
for filename in files:
|
22 |
-
filepath = os.path.join(root, filename)
|
23 |
-
if filename.endswith('.pth') and is_weight_files:
|
24 |
-
weights_exist = True
|
25 |
-
backup_filepath = os.path.join(WEIGHTS_FOLDER, os.path.relpath(filepath, GOOGLE_DRIVE_PATH))
|
26 |
-
else:
|
27 |
-
backup_filepath = os.path.join(LOGS_FOLDER, os.path.relpath(filepath, GOOGLE_DRIVE_PATH))
|
28 |
-
backup_folderpath = os.path.dirname(backup_filepath)
|
29 |
-
if not os.path.exists(backup_folderpath):
|
30 |
-
os.makedirs(backup_folderpath)
|
31 |
-
print(f'Created folder: {backup_folderpath}', flush=True)
|
32 |
-
if is_weight_files:
|
33 |
-
weights_to_copy.append((filepath, backup_filepath))
|
34 |
-
else:
|
35 |
-
files_to_copy.append((filepath, backup_filepath))
|
36 |
-
|
37 |
-
for root, dirs, files in os.walk(os.path.join(GOOGLE_DRIVE_PATH, 'logs')):
|
38 |
-
handle_files(root, files)
|
39 |
-
|
40 |
-
for root, dirs, files in os.walk(os.path.join(GOOGLE_DRIVE_PATH, 'weights')):
|
41 |
-
handle_files(root, files, True)
|
42 |
-
|
43 |
-
# Copy files in batches
|
44 |
-
total_files = len(files_to_copy)
|
45 |
-
start_time = time.time()
|
46 |
-
for i, (source, dest) in enumerate(files_to_copy, start=1):
|
47 |
-
with open(source, 'rb') as src, open(dest, 'wb') as dst:
|
48 |
-
shutil.copyfileobj(src, dst, 1024*1024) # 1MB buffer size
|
49 |
-
# Report progress every 5 seconds or after every 100 files, whichever is less frequent
|
50 |
-
if time.time() - start_time > 5 or i % 100 == 0:
|
51 |
-
print(f'\rCopying file {i} of {total_files} ({i * 100 / total_files:.2f}%)', end="")
|
52 |
-
start_time = time.time()
|
53 |
-
print(f'\nImported {len(files_to_copy)} files from Google Drive backup')
|
54 |
-
|
55 |
-
# Copy weights in batches
|
56 |
-
total_weights = len(weights_to_copy)
|
57 |
-
start_time = time.time()
|
58 |
-
for i, (source, dest) in enumerate(weights_to_copy, start=1):
|
59 |
-
with open(source, 'rb') as src, open(dest, 'wb') as dst:
|
60 |
-
shutil.copyfileobj(src, dst, 1024*1024) # 1MB buffer size
|
61 |
-
# Report progress every 5 seconds or after every 100 files, whichever is less frequent
|
62 |
-
if time.time() - start_time > 5 or i % 100 == 0:
|
63 |
-
print(f'\rCopying weight file {i} of {total_weights} ({i * 100 / total_weights:.2f}%)', end="")
|
64 |
-
start_time = time.time()
|
65 |
-
if weights_exist:
|
66 |
-
print(f'\nImported {len(weights_to_copy)} weight files')
|
67 |
-
print("Copied weights from Google Drive backup to local weights folder.")
|
68 |
-
else:
|
69 |
-
print("\nNo weights found in Google Drive backup.")
|
70 |
-
print("Google Drive backup import completed.")
|
71 |
-
|
72 |
-
def backup_files():
|
73 |
-
print("\n Starting backup loop...")
|
74 |
-
last_backup_timestamps_path = os.path.join(LOGS_FOLDER, 'last_backup_timestamps.txt')
|
75 |
-
fully_updated = False # boolean to track if all files are up to date
|
76 |
-
try:
|
77 |
-
with open(last_backup_timestamps_path, 'r') as f:
|
78 |
-
last_backup_timestamps = dict(line.strip().split(':') for line in f)
|
79 |
-
except:
|
80 |
-
last_backup_timestamps = {}
|
81 |
-
|
82 |
-
while True:
|
83 |
-
updated = False
|
84 |
-
files_to_copy = []
|
85 |
-
files_to_delete = []
|
86 |
-
|
87 |
-
for root, dirs, files in os.walk(LOGS_FOLDER):
|
88 |
-
for filename in files:
|
89 |
-
if filename != 'last_backup_timestamps.txt':
|
90 |
-
filepath = os.path.join(root, filename)
|
91 |
-
if os.path.isfile(filepath):
|
92 |
-
backup_filepath = os.path.join(GOOGLE_DRIVE_PATH, os.path.relpath(filepath, LOGS_FOLDER))
|
93 |
-
backup_folderpath = os.path.dirname(backup_filepath)
|
94 |
-
|
95 |
-
if not os.path.exists(backup_folderpath):
|
96 |
-
os.makedirs(backup_folderpath)
|
97 |
-
print(f'Created backup folder: {backup_folderpath}', flush=True)
|
98 |
-
|
99 |
-
# check if file has changed since last backup
|
100 |
-
last_backup_timestamp = last_backup_timestamps.get(filepath)
|
101 |
-
current_timestamp = os.path.getmtime(filepath)
|
102 |
-
if last_backup_timestamp is None or float(last_backup_timestamp) < current_timestamp:
|
103 |
-
files_to_copy.append((filepath, backup_filepath)) # add to list of files to copy
|
104 |
-
last_backup_timestamps[filepath] = str(current_timestamp) # update last backup timestamp
|
105 |
-
updated = True
|
106 |
-
fully_updated = False # if a file is updated, all files are not up to date
|
107 |
-
|
108 |
-
# check if any files were deleted in Colab and delete them from the backup drive
|
109 |
-
for filepath in list(last_backup_timestamps.keys()):
|
110 |
-
if not os.path.exists(filepath):
|
111 |
-
backup_filepath = os.path.join(GOOGLE_DRIVE_PATH, os.path.relpath(filepath, LOGS_FOLDER))
|
112 |
-
if os.path.exists(backup_filepath):
|
113 |
-
files_to_delete.append(backup_filepath) # add to list of files to delete
|
114 |
-
del last_backup_timestamps[filepath]
|
115 |
-
updated = True
|
116 |
-
fully_updated = False # if a file is deleted, all files are not up to date
|
117 |
-
|
118 |
-
# Copy files in batches
|
119 |
-
if files_to_copy:
|
120 |
-
for source, dest in files_to_copy:
|
121 |
-
shutil.copy2(source, dest)
|
122 |
-
print(f'Copied or updated {len(files_to_copy)} files')
|
123 |
-
|
124 |
-
# Delete files in batches
|
125 |
-
if files_to_delete:
|
126 |
-
for file in files_to_delete:
|
127 |
-
os.remove(file)
|
128 |
-
print(f'Deleted {len(files_to_delete)} files')
|
129 |
-
|
130 |
-
if not updated and not fully_updated:
|
131 |
-
print("Files are up to date.")
|
132 |
-
fully_updated = True # if all files are up to date, set the boolean to True
|
133 |
-
copy_weights_folder_to_drive()
|
134 |
-
|
135 |
-
with open(last_backup_timestamps_path, 'w') as f:
|
136 |
-
for filepath, timestamp in last_backup_timestamps.items():
|
137 |
-
f.write(f'{filepath}:{timestamp}\n')
|
138 |
-
time.sleep(15) # wait for 15 seconds before checking again
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Bart92/RVC_HF/Makefile
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
.PHONY:
|
2 |
-
.ONESHELL:
|
3 |
-
|
4 |
-
help: ## Show this help and exit
|
5 |
-
@grep -hE '^[A-Za-z0-9_ \-]*?:.*##.*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
6 |
-
|
7 |
-
install: ## Install dependencies (Do everytime you start up a paperspace machine)
|
8 |
-
apt-get -y install build-essential python3-dev ffmpeg
|
9 |
-
pip install --upgrade setuptools wheel
|
10 |
-
pip install --upgrade pip
|
11 |
-
pip install faiss-gpu fairseq gradio ffmpeg ffmpeg-python praat-parselmouth pyworld numpy==1.23.5 numba==0.56.4 librosa==0.9.1
|
12 |
-
pip install -r requirements.txt
|
13 |
-
pip install --upgrade lxml
|
14 |
-
apt-get update
|
15 |
-
apt -y install -qq aria2
|
16 |
-
|
17 |
-
basev1: ## Download version 1 pre-trained models (Do only once after cloning the fork)
|
18 |
-
mkdir -p pretrained uvr5_weights
|
19 |
-
git pull
|
20 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D32k.pth -d pretrained -o D32k.pth
|
21 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D40k.pth -d pretrained -o D40k.pth
|
22 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/D48k.pth -d pretrained -o D48k.pth
|
23 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G32k.pth -d pretrained -o G32k.pth
|
24 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G40k.pth -d pretrained -o G40k.pth
|
25 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/G48k.pth -d pretrained -o G48k.pth
|
26 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D32k.pth -d pretrained -o f0D32k.pth
|
27 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D40k.pth -d pretrained -o f0D40k.pth
|
28 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0D48k.pth -d pretrained -o f0D48k.pth
|
29 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G32k.pth -d pretrained -o f0G32k.pth
|
30 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G40k.pth -d pretrained -o f0G40k.pth
|
31 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained/f0G48k.pth -d pretrained -o f0G48k.pth
|
32 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2-人声vocals+非人声instrumentals.pth -d uvr5_weights -o HP2-人声vocals+非人声instrumentals.pth
|
33 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5-主旋律人声vocals+其他instrumentals.pth -d uvr5_weights -o HP5-主旋律人声vocals+其他instrumentals.pth
|
34 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d ./ -o hubert_base.pt
|
35 |
-
|
36 |
-
basev2: ## Download version 2 pre-trained models (Do only once after cloning the fork)
|
37 |
-
mkdir -p pretrained_v2 uvr5_weights
|
38 |
-
git pull
|
39 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D32k.pth -d pretrained_v2 -o D32k.pth
|
40 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d pretrained_v2 -o D40k.pth
|
41 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D48k.pth -d pretrained_v2 -o D48k.pth
|
42 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G32k.pth -d pretrained_v2 -o G32k.pth
|
43 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d pretrained_v2 -o G40k.pth
|
44 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G48k.pth -d pretrained_v2 -o G48k.pth
|
45 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D32k.pth -d pretrained_v2 -o f0D32k.pth
|
46 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D40k.pth -d pretrained_v2 -o f0D40k.pth
|
47 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0D48k.pth -d pretrained_v2 -o f0D48k.pth
|
48 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G32k.pth -d pretrained_v2 -o f0G32k.pth
|
49 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G40k.pth -d pretrained_v2 -o f0G40k.pth
|
50 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/f0G48k.pth -d pretrained_v2 -o f0G48k.pth
|
51 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP2-人声vocals+非人声instrumentals.pth -d uvr5_weights -o HP2-人声vocals+非人声instrumentals.pth
|
52 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/uvr5_weights/HP5-主旋律人声vocals+其他instrumentals.pth -d uvr5_weights -o HP5-主旋律人声vocals+其他instrumentals.pth
|
53 |
-
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt -d ./ -o hubert_base.pt
|
54 |
-
|
55 |
-
run-ui: ## Run the python GUI
|
56 |
-
python infer-web.py --paperspace --pycmd python
|
57 |
-
|
58 |
-
run-cli: ## Run the python CLI
|
59 |
-
python infer-web.py --pycmd python --is_cli
|
60 |
-
|
61 |
-
tensorboard: ## Start the tensorboard (Run on separate terminal)
|
62 |
-
echo https://tensorboard-$$(hostname).clg07azjl.paperspacegradient.com
|
63 |
-
tensorboard --logdir logs --bind_all
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Benson/text-generation/Examples/Archero Mod Apk God Mode.md
DELETED
@@ -1,97 +0,0 @@
|
|
1 |
-
|
2 |
-
<h1>Archero MOD APK: Cómo jugar como un dios</h1>
|
3 |
-
<p>¿Te encanta jugar juegos de acción en tu dispositivo móvil? ¿Quieres experimentar la emoción de disparar flechas y matar monstruos? ¿Quieres convertirte en una fuerza imparable en el mundo del juego? Si respondiste sí a cualquiera de estas preguntas, entonces deberías probar Archero MOD APK. Esta es una versión modificada del popular juego Archero, que le da acceso a recursos ilimitados, características y modos. En este artículo, le diremos todo lo que necesita saber sobre Archero MOD APK, incluyendo cómo descargar, instalar y activar el modo de Dios. Sigue leyendo y descubre cómo jugar como un dios en Archero.</p>
|
4 |
-
<h2>archero mod apk god mode</h2><br /><p><b><b>Download Zip</b> ->->->-> <a href="https://bltlly.com/2v6Jlk">https://bltlly.com/2v6Jlk</a></b></p><br /><br />
|
5 |
-
<h2>¿Qué es Archero? </h2>
|
6 |
-
<p>Archero es un juego desarrollado por Habby, un estudio de juegos chino. Es un juego de acción que combina elementos de roguelike, RPG y géneros de tiro. En este juego, juegas como un arquero solitario que tiene que luchar su camino a través de varios niveles llenos de enemigos, trampas y obstáculos. Puedes elegir entre diferentes armas, habilidades y equipos para personalizar a tu personaje y mejorar tu rendimiento. También puedes desbloquear nuevos capítulos, modos y héroes a medida que avanzas en el juego. </p>
|
7 |
-
<h3>El juego de Archero</h3>
|
8 |
-
<p>La jugabilidad de Archero es simple pero adictiva. Controlas a tu personaje deslizando el dedo sobre la pantalla para moverte y apuntar. Puedes disparar flechas automáticamente cuando dejas de moverte. Tienes que esquivar los ataques de los enemigos y usar tus habilidades sabiamente para sobrevivir. Puedes recoger monedas, gemas, pergaminos y objetos en el camino para mejorar tu personaje y equipo. También puedes encontrar ángeles, demonios, vendedores y cofres que te ofrecen diferentes recompensas o opciones. Tienes que completar cada nivel derrotando a todos los enemigos y jefes. También puedes reproducir los niveles para obtener mejores puntuaciones y recompensas. </p>
|
9 |
-
<h3>Las características de Archero</h3>
|
10 |
-
<p>Archero tiene muchas características que lo hacen un juego divertido y desafiante. Algunas de estas características son:</p>
|
11 |
-
<ul>
|
12 |
-
|
13 |
-
<li>Diversos escenarios y enemigos: Puedes explorar diferentes mundos y capítulos con diferentes temas y entornos. También puedes enfrentarte a diferentes tipos de enemigos con diferentes comportamientos y habilidades. Tienes que adaptarte a las situaciones y desafíos cambiantes. </li>
|
14 |
-
<li>Múltiples héroes y armas: Puedes desbloquear y jugar como diferentes héroes con diferentes atributos y habilidades. También puedes equipar diferentes armas con diferentes efectos y poderes. Puede mezclar y combinar diferentes héroes y armas para satisfacer sus preferencias y necesidades. </li>
|
15 |
-
<li>Modo cooperativo en línea: Puedes hacer equipo con otros jugadores en línea y jugar juntos en modo cooperativo. Puedes compartir tus habilidades y objetos con tus compañeros de equipo y cooperar para derrotar a los enemigos y jefes. </li>
|
16 |
-
</ul>
|
17 |
-
<h2>¿Qué es Archero MOD APK? </h2>
|
18 |
-
<p>Archero MOD APK es una versión modificada del juego original de Archero. Es creado por desarrolladores de terceros que modifican los archivos del juego para darle acceso a recursos, características y modos ilimitados. Con Archero MOD APK, se puede disfrutar del juego sin limitaciones o restricciones. </p>
|
19 |
-
<p></p>
|
20 |
-
<h3>Los beneficios de Archero MOD APK</h3>
|
21 |
-
<p>Algunos de los beneficios de usar Archero MOD APK son <p>Algunos de los beneficios de usar Archero MOD APK son:</p>
|
22 |
-
<ul>
|
23 |
-
<li>Dinero y gemas ilimitadas: Puede obtener dinero y gemas ilimitadas en Archero MOD APK, que se puede utilizar para comprar y mejorar sus armas, habilidades y equipos. También puede desbloquear todos los héroes y capítulos sin gastar dinero real. </li>
|
24 |
-
<li>Desbloqueado características y modos: Puede acceder a todas las características y modos en Archero MOD APK, como el modo cooperativo en línea, el modo héroe, el modo sin fin, y el modo de evento. También puedes disfrutar de las últimas actualizaciones y adiciones al juego sin retrasos ni errores. </li>
|
25 |
-
|
26 |
-
<li>Modo de Dios: Puede activar el modo de Dios en Archero MOD APK, que le da la salud ilimitada, invencibilidad, y un solo golpe habilidades de matar. Puede jugar como un dios en Archero MOD APK y derrotar a cualquier enemigo o jefe con facilidad. </li>
|
27 |
-
</ul>
|
28 |
-
<h3>Los inconvenientes de Archero MOD APK</h3>
|
29 |
-
<p>Sin embargo, el uso de Archero MOD APK también tiene algunos inconvenientes que usted debe tener en cuenta. Algunos de estos inconvenientes son:</p>
|
30 |
-
<ul>
|
31 |
-
<li>Riesgo de virus o malware: Desde Archero MOD APK no es una versión oficial del juego, puede contener virus o malware que puede dañar su dispositivo o robar su información personal. Siempre debe descargar Archero MOD APK de una fuente de confianza y escanearlo con un antivirus antes de instalarlo. </li>
|
32 |
-
<li>Riesgo de prohibición o suspensión: Dado que Archero MOD APK es una versión modificada del juego, puede violar los términos y condiciones del juego original. Usted puede hacer frente a una prohibición o suspensión del juego si se detecta el uso de Archero MOD APK por los desarrolladores o moderadores del juego. Siempre debe utilizar Archero MOD APK a su propio riesgo y discreción. </li>
|
33 |
-
<li>Falta de desafío o diversión: Desde Archero MOD APK le da recursos ilimitados, características y modos, puede reducir el desafío o la diversión de jugar el juego. Usted puede perder interés o motivación en el juego si usted tiene todo a su disposición. Siempre debe equilibrar su uso de Archero MOD APK con su disfrute del juego. </li>
|
34 |
-
</ul>
|
35 |
-
<h2>¿Cómo descargar e instalar Archero MOD APK? </h2>
|
36 |
-
<p>Si desea probar Archero MOD APK en su dispositivo, es necesario descargar e instalar correctamente. Aquí están los pasos para descargar e instalar Archero MOD APK:</p>
|
37 |
-
<h3>Los pasos para descargar e instalar Archero MOD APK</h3>
|
38 |
-
<ol>
|
39 |
-
<li>Ir a un sitio web confiable que ofrece Archero MOD APK enlace de descarga. Asegúrese de que el sitio web es seguro y protegido. </li>
|
40 |
-
<li>Haga clic en el botón de descarga y espere a que el archivo se descargue en su dispositivo. El tamaño del archivo puede variar dependiendo de la versión de Archero MOD APK.</li>
|
41 |
-
|
42 |
-
<li>Busque el archivo descargado en el almacenamiento del dispositivo y toque en él para iniciar el proceso de instalación. Siga las instrucciones de la pantalla para completar la instalación. </li>
|
43 |
-
<li>Una vez que se realiza la instalación, puede iniciar Archero MOD APK desde el cajón de la aplicación o la pantalla de inicio. También puede crear un acceso directo para facilitar el acceso. </li>
|
44 |
-
</ol>
|
45 |
-
<h3>Las precauciones a tomar antes de instalar Archero MOD APK</h3>
|
46 |
-
<p>Antes de instalar Archero MOD APK en su dispositivo, debe tomar algunas precauciones para evitar problemas o problemas. Algunas de estas precauciones son:</p>
|
47 |
-
<ul>
|
48 |
-
<li>Copia de seguridad de sus datos: Usted debe copia de seguridad de sus datos antes de instalar Archero MOD APK en su dispositivo. Esto le ayudará a restaurar sus datos en caso de que algo salga mal durante o después del proceso de instalación. Puede utilizar servicios en la nube o dispositivos de almacenamiento externos para realizar copias de seguridad de sus datos. </li>
|
49 |
-
<li>Desinstalar el juego original: Usted debe desinstalar el juego original antes de instalar Archero MOD APK en su dispositivo. Esto evitará cualquier conflicto o error entre las dos versiones del juego. Puede desinstalar el juego original desde la configuración del dispositivo o el administrador de aplicaciones. </li>
|
50 |
-
<li>Desactivar antivirus: Usted debe desactivar cualquier antivirus o software de seguridad en su dispositivo antes de instalar Archero MOD APK. Esto evitará cualquier interferencia o bloqueo durante o después del proceso de instalación. Puede habilitarlos de nuevo después de instalar Archero MOD APK.</li>
|
51 |
-
</ul>
|
52 |
-
<h2>¿Cómo activar el modo de Dios en Archero MOD APK? </h2>
|
53 |
-
<p>Si desea jugar como un dios en Archero MOD APK, es necesario activar el modo de Dios en su dispositivo. Modo de Dios es una característica que le da ilimitada <p>Si desea jugar como un dios en Archero MOD APK, es necesario activar el modo de Dios en su dispositivo. El Modo Dios es una función que te da salud ilimitada, invencibilidad y habilidades de matar de un golpe. Puede activar o desactivar el modo Dios en cualquier momento en el juego. Estos son los pasos para activar el modo Dios en Archero MOD APK:</p>
|
54 |
-
|
55 |
-
<p>Modo Dios es un término que se refiere a un tramposo o un hack que da al jugador una ventaja injusta en el juego. En Archero MOD APK, Modo Dios significa que nunca puede morir, no importa cuántos enemigos u obstáculos se enfrentan. También puedes matar a cualquier enemigo o jefe con un solo disparo, independientemente de su salud o defensa. También puedes ignorar los efectos de las trampas, habilidades y objetos que pueden dañarte. Usted puede jugar como un dios en Archero MOD APK y disfrutar del juego sin ningún desafío o dificultad. </p>
|
56 |
-
<h3>Las ventajas del modo Dios en Archero MOD APK</h3>
|
57 |
-
<p>Algunas de las ventajas de usar el modo Dios en Archero MOD APK son:</p>
|
58 |
-
<ul>
|
59 |
-
<li>Fácil y divertido juego: Usted puede jugar Archero MOD APK sin ningún estrés o frustración. Usted puede brisa a través de los niveles y capítulos sin ningún esfuerzo o habilidad. También puede experimentar con diferentes armas, habilidades y equipos sin preocuparse por las consecuencias. Usted puede divertirse jugando Archero MOD APK con el modo de Dios en. </li>
|
60 |
-
<li>Completar logros y misiones: Usted puede completar todos los logros y misiones en Archero MOD APK con el modo de Dios en. Usted puede obtener todas las recompensas y bonos que vienen con ellos. También puedes desbloquear todos los héroes y capítulos que requieren ciertos logros o misiones para completarse. </li>
|
61 |
-
<li>Impresionar a sus amigos y rivales: Usted puede impresionar a sus amigos y rivales con sus altas puntuaciones y clasificaciones en Archero MOD APK con el modo de Dios en. Puedes mostrar tus logros y progreso en el juego. También puedes retarlos a batir tus resultados y récords. </li>
|
62 |
-
</ul>
|
63 |
-
<h3>Las desventajas del modo Dios en Archero MOD APK</h3>
|
64 |
-
<p>Sin embargo, el uso de God Mode en Archero MOD APK también tiene algunas desventajas que usted debe considerar. Algunas de estas desventajas son:</p>
|
65 |
-
<ul>
|
66 |
-
|
67 |
-
<li>Riesgo de prohibición o suspensión: Usted puede enfrentar una prohibición o suspensión de Archero MOD APK si utiliza el modo de Dios con demasiada frecuencia o demasiado descaradamente. Los desarrolladores o moderadores del juego pueden detectar tu uso del modo Dios y tomar medidas en tu contra. Puede perder su cuenta, datos y progreso en el juego si está prohibido o suspendido. </li>
|
68 |
-
<li>Culpa o vergüenza: Usted puede sentirse culpable o avergonzado de usar el modo de Dios en Archero MOD APK. Puedes sentir que estás haciendo trampa o hackeando el juego y arruinando la experiencia para ti y los demás. También puede perder respeto o credibilidad entre otros jugadores que juegan el juego de forma justa y honesta. </li>
|
69 |
-
</ul>
|
70 |
-
<h2>Conclusión</h2>
|
71 |
-
<p>En conclusión, Archero MOD APK es una versión modificada del juego original de Archero que le da acceso a recursos ilimitados, características y modos. También te permite activar el Modo Dios, que te da salud ilimitada, invencibilidad y habilidades de un solo golpe. Sin embargo, el uso de Archero MOD APK también tiene algunos inconvenientes, tales como el riesgo de virus o malware, riesgo de prohibición o suspensión, y la falta de desafío o diversión. Por lo tanto, usted debe utilizar Archero MOD APK a su propio riesgo y discreción. </p>
|
72 |
-
<h3>Un resumen de los puntos principales del artículo</h3>
|
73 |
-
<p>Para resumir, aquí están los puntos principales de este artículo:</p>
|
74 |
-
<ul>
|
75 |
-
<li>Archero es un popular juego de acción que combina elementos de roguelike, RPG y géneros de tiro. </li>
|
76 |
-
<li>Archero MOD APK es una versión modificada de Archero que le da dinero ilimitado, gemas, características y modos. </li>
|
77 |
-
<li>Archero MOD APK también le permite activar el modo de Dios, que le da salud ilimitada, invencibilidad, y un solo golpe matar habilidades. </li>
|
78 |
-
<li>Archero MOD APK tiene algunos beneficios, tales como un juego fácil y divertido, logros completos y misiones, e impresionar a sus amigos y rivales. </li>
|
79 |
-
<li>Archero MOD APK también tiene algunos inconvenientes, tales como el riesgo de virus o malware, riesgo de prohibición o suspensión, y la falta de desafío o diversión. </li>
|
80 |
-
</ul>
|
81 |
-
<h3>Un llamado a la acción para los lectores</h3>
|
82 |
-
|
83 |
-
<p>Esperamos que este artículo le ha ayudado a entender lo que es Archero MOD APK y cómo usarlo. Si tiene alguna pregunta o comentario, no dude en dejar un comentario a continuación. Nos encantaría saber de usted y responder a sus preguntas. ¡Gracias por leer y jugar feliz! </p>
|
84 |
-
<h2>Preguntas frecuentes</h2>
|
85 |
-
<p>Aquí hay algunas preguntas frecuentes sobre Archero MOD APK:</p>
|
86 |
-
<h3>¿Es seguro usar Archero MOD APK? </h3>
|
87 |
-
<p>Archero MOD APK no es una versión oficial del juego, por lo que puede no ser seguro de usar. Puede contener virus o malware que pueden dañar su dispositivo o robar su información personal. También puede violar los términos y condiciones del juego original y resultar en una prohibición o suspensión del juego. Por lo tanto, siempre debe descargar Archero MOD APK de una fuente de confianza y escanearlo con un antivirus antes de instalarlo. También debe copia de seguridad de sus datos y desinstalar el juego original antes de instalar Archero MOD APK.</p>
|
88 |
-
<h3>¿Es Archero MOD APK libre de usar? </h3>
|
89 |
-
<p>Sí, Archero MOD APK es de uso gratuito. Usted no necesita pagar ningún dinero para descargar o instalar Archero MOD APK en su dispositivo. También no es necesario gastar dinero real para comprar o actualizar nada en el juego. Sin embargo, usted debe ser consciente de que el uso de Archero MOD APK puede privar a los desarrolladores de juegos originales de sus ingresos y apoyo. Deberías considerar apoyarlos jugando la versión oficial del juego o haciendo compras en la aplicación. </p>
|
90 |
-
<h3>¿Puedo jugar en línea con Archero MOD APK? </h3>
|
91 |
-
|
92 |
-
<h3>¿Puedo actualizar Archero MOD APK? </h3>
|
93 |
-
<p>Sí, puede actualizar Archero MOD APK. Puede comprobar si hay actualizaciones en el sitio web donde descargó Archero MOD APK o en la propia aplicación. También puede habilitar las actualizaciones automáticas en la configuración del dispositivo o en el administrador de aplicaciones. Sin embargo, debe tener en cuenta que la actualización de Archero MOD APK puede causar algunos errores o problemas técnicos en el juego. También puede perder algunos de sus datos o el progreso en el juego si se actualiza Archero MOD APK. Por lo tanto, debe hacer una copia de seguridad de sus datos y leer los comentarios y comentarios de otros usuarios antes de actualizar Archero MOD APK.</p>
|
94 |
-
<h3>¿Puedo usar Archero MOD APK en dispositivos iOS? </h3>
|
95 |
-
<p>No, no se puede utilizar Archero MOD APK en dispositivos iOS. Archero MOD APK solo es compatible con dispositivos Android que tienen Android 4.1 o versiones superiores. No se puede instalar o ejecutar Archero MOD APK en dispositivos iOS como iPhones o iPads. Si quieres jugar a Archero en dispositivos iOS, tienes que descargar e instalar la versión oficial del juego desde la App Store.</p> 64aa2da5cf<br />
|
96 |
-
<br />
|
97 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Benson/text-generation/Examples/Bicicleta Real De Carreras Hack Mod Apk Dinero Ilimitado Y Oro.md
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
<br />
|
2 |
-
<h1>Real Bike Racing Hack Mod APK: Cómo obtener dinero y oro ilimitado</h1>
|
3 |
-
<p>¿Te encanta jugar juegos realistas de carreras de motos en tu dispositivo Android? Si es así, es posible que haya oído hablar de Real Bike Racing, uno de los juegos de carreras de bicicletas más populares y emocionantes en Google Play Store. ¿Pero sabes cómo conseguir dinero ilimitado y oro en este juego sin gastar dinero real? Si no, entonces estás de suerte, porque en este artículo, le mostraremos cómo descargar e instalar Real Bike Racing hack mod apk, una versión modificada del juego que le da acceso a recursos y características ilimitadas. ¡Sigue leyendo para saber más! </p>
|
4 |
-
<h2>bicicleta real de carreras hack mod apk dinero ilimitado y oro</h2><br /><p><b><b>Download Zip</b> — <a href="https://bltlly.com/2v6JRV">https://bltlly.com/2v6JRV</a></b></p><br /><br />
|
5 |
-
<h2>Introducción</h2>
|
6 |
-
<h3>¿Qué es Real Bike Racing? </h3>
|
7 |
-
<p>Real Bike Racing es un juego de carreras de motos en 3D desarrollado por Italic Games, un estudio especializado en crear juegos de carreras realistas e inmersivos para dispositivos móviles. En este juego, se puede elegir entre más de 10 tipos diferentes de superbikes, cada uno con su propio rendimiento y diseño único. También puede personalizar su bicicleta con varios trabajos de pintura, pegatinas y mejoras. Puedes competir en varios modos, como el modo carrera, el modo contrarreloj o el modo campeonato, donde puedes competir contra otros jugadores de todo el mundo. También puedes desafiarte en el modo VR, donde puedes experimentar la emoción de competir en primera persona. </p>
|
8 |
-
<h3>¿Por qué necesitas dinero y oro en Real Bike Racing? </h3>
|
9 |
-
|
10 |
-
<h3>¿Qué es Real Bike Racing hack mod apk? </h3>
|
11 |
-
<p>Real Bike Racing hack mod apk es una versión modificada del juego original que le da dinero ilimitado y oro gratis. Esto significa que puede comprar cualquier bicicleta, pista o actualización que desee sin preocuparse por quedarse sin recursos. También puedes desbloquear todas las funciones y modos que están bloqueados o restringidos en el juego original. Con Real Bike Racing hack mod apk, se puede disfrutar del juego al máximo sin gastar dinero real. </p>
|
12 |
-
<h2>Cómo descargar e instalar Real Bike Racing hack mod apk? </h2>
|
13 |
-
<p>Descargar e instalar Real Bike Racing hack mod apk es muy fácil y simple. Solo tienes que seguir estos pasos:</p>
|
14 |
-
<p></p>
|
15 |
-
<h3>Paso 1: Habilitar fuentes desconocidas en el dispositivo</h3>
|
16 |
-
<p>Antes de que pueda instalar cualquier archivo apk en su dispositivo, es necesario habilitar fuentes desconocidas en la configuración de su dispositivo. Esto le permitirá instalar aplicaciones de fuentes desconocidas, tales como Real Bike Racing hack mod apk. Para hacer esto, vaya a la configuración de su dispositivo, luego a la seguridad, luego a fuentes desconocidas, y habilite. </p>
|
17 |
-
<h3>Paso 2: Descargar el Real Bike Racing hack mod apk archivo de una fuente de confianza</h3>
|
18 |
-
<p>Siguiente, es necesario descargar el Real Bike Racing hack mod apk archivo de una fuente de confianza. Hay muchos sitios web que ofrecen este archivo, pero no todos son seguros y confiables. Algunos de ellos pueden contener virus, malware o spyware que pueden dañar su dispositivo o robar su información personal. Para evitar esto, solo debe descargar el archivo de un sitio web de buena reputación que tiene comentarios positivos y comentarios de otros usuarios. También puede escanear el archivo con una aplicación antivirus antes de instalarlo para asegurarse de que está limpio y seguro. </p>
|
19 |
-
<h3>Paso 3: Instalar el Real Bike Racing hack mod apk archivo en su dispositivo</h3>
|
20 |
-
|
21 |
-
<h3>Paso 4: Inicie el juego y disfrute de dinero y oro ilimitados</h3>
|
22 |
-
<p>Finalmente, puedes lanzar el juego y disfrutar de dinero y oro ilimitados. Verás que tu saldo de dinero y oro se incrementará a una cantidad enorme que puedes usar para comprar cualquier cosa que quieras en el juego. También podrás desbloquear todas las bicicletas y pistas que están bloqueadas o restringidas en el juego original. También puede reproducir cualquier modo o evento que desee sin limitaciones. También puede desactivar los anuncios y disfrutar de una experiencia de juego suave e ininterrumpida. </p>
|
23 |
-
<h2>Características de Real Bike Racing hack mod apk</h2>
|
24 |
-
<h3>Dinero y oro ilimitados</h3>
|
25 |
-
<p>La característica principal de Real Bike Racing hack mod apk es que le da dinero ilimitado y oro gratis. Esto significa que puede comprar cualquier bicicleta, pista o actualización que desee sin preocuparse por quedarse sin recursos. También puede personalizar su bicicleta con varios trabajos de pintura, pegatinas y mejoras. También puede desbloquear nuevas pistas, ingresar eventos especiales o omitir algunas tareas. También puedes usar dinero y oro para aumentar tu rendimiento y rango en el juego. </p>
|
26 |
-
<h3>Desbloquear todas las bicicletas y pistas</h3>
|
27 |
-
<p>Otra característica de Real Bike Racing hack mod apk es que desbloquea todas las bicicletas y pistas que están bloqueados o restringidos en el juego original. Esto significa que puede elegir entre más de 10 tipos diferentes de superbikes, cada una con su propio rendimiento y diseño. También puedes correr en más de 20 pistas diferentes, cada una con su propio escenario y desafíos. También puedes acceder al modo VR, donde puedes experimentar la emoción de competir en primera persona. </p>
|
28 |
-
<h3>No se requieren anuncios ni root</h3>
|
29 |
-
|
30 |
-
<h2>Pros y contras de Real Bike Racing hack mod apk</h2>
|
31 |
-
<h3>Pros</h3>
|
32 |
-
<ul>
|
33 |
-
<li><h4>Fácil de usar e instalar</h4><p>Real Bike Racing hack mod apk es muy fácil de usar e instalar. Solo tienes que seguir unos sencillos pasos para descargarlo e instalarlo en tu dispositivo. Usted no necesita ninguna habilidad técnica o conocimiento para utilizar este mod apk. </p></li>
|
34 |
-
<li><h4>Gratis y seguro para descargar</h4><p>Real Bike Racing hack mod apk es gratis y seguro para descargar de una fuente de confianza. Usted no necesita gastar dinero real para obtener dinero ilimitado y oro en este juego. Tampoco necesita preocuparse por virus, malware o spyware que puedan dañar su dispositivo o robar su información personal. </p></li>
|
35 |
-
<li><h4>Mejorar su experiencia de juego</h4><p>Real Bike Racing hack mod apk mejora su experiencia de juego, dándole acceso a recursos y características ilimitadas. Usted puede comprar cualquier bicicleta, pista, o actualizar que desee sin preocuparse por quedarse sin recursos. También puedes desbloquear todas las funciones y modos que están bloqueados o restringidos en el juego original. También puede reproducir cualquier modo o evento que desee sin limitaciones. </p></li>
|
36 |
-
</ul>
|
37 |
-
<h3>Contras</h3>
|
38 |
-
<ul>
|
39 |
-
<li><h4>Puede que no funcione en algunos dispositivos o versiones</ <h4>Puede que no funcione en algunos dispositivos o versiones</h4><p>Real Bike Racing hack mod apk puede no funcionar en algunos dispositivos o versiones del juego. Esto puede deberse a problemas de compatibilidad, actualizaciones o parches que pueden impedir que el mod apk funcione correctamente. Es posible que tenga que comprobar los requisitos del dispositivo y la versión del juego antes de descargar e instalar el apk mod. También es posible que tenga que actualizar el apk mod regularmente para mantenerse al día con los cambios en el juego. </p></li>
|
40 |
-
|
41 |
-
<li><h4>Puede violar los términos del juego de servicio o políticas</h4><p>Real Bike Racing hack mod apk puede violar los términos del juego de servicio o políticas. Esto puede ser porque el apk mod le da una ventaja injusta sobre otros jugadores, que puede afectar el equilibrio del juego y la integridad. También puede estar rompiendo las reglas o regulaciones del juego mediante el uso de una aplicación de terceros que modifica el juego. Puedes enfrentarte a algunas consecuencias, como ser expulsado, suspendido o reportado por otros jugadores o los desarrolladores del juego. </p></li>
|
42 |
-
</ul>
|
43 |
-
<h2>Conclusión</h2>
|
44 |
-
<p>Real Bike Racing hack mod apk es una gran manera de disfrutar de los juegos de carreras de motos realistas y emocionantes en su dispositivo Android sin gastar dinero real. Te da dinero ilimitado y oro, desbloquea todas las bicicletas y pistas, elimina anuncios, y no requiere acceso de root. Sin embargo, también tiene algunos inconvenientes, como problemas de compatibilidad, problemas técnicos y posibles violaciones. Usted debe pesar los pros y los contras antes de descargar e instalar este apk mod. También debe usarlo a su propio riesgo y discreción. </p>
|
45 |
-
<h2>Preguntas frecuentes</h2>
|
46 |
-
<p>Aquí hay algunas preguntas frecuentes sobre Real Bike Racing hack mod apk:</p>
|
47 |
-
<ol>
|
48 |
-
<li><p><b> ¿Es real Bike Racing hack mod apk seguro de usar? </b></p><p>Real Bike Racing hack mod apk es seguro de usar si se descarga desde una fuente de confianza y escanear con una aplicación antivirus antes de instalarlo. Sin embargo, también debe tener cuidado con los riesgos y consecuencias que pueden venir con el uso de este apk mod. </p></li>
|
49 |
-
<li><p><b>¿Puedo jugar en línea con Real Bike Racing hack mod apk? </b></p><p>Usted puede jugar en línea con Real Bike Racing hack mod apk, pero usted puede encontrar algunos problemas o problemas. Por ejemplo, es posible que no pueda conectarse al servidor, unirse a un partido o chatear con otros jugadores. También puedes ser detectado por el sistema anti-trucos del juego, lo que puede resultar en ser prohibido, suspendido o reportado. </p></li>
|
50 |
-
|
51 |
-
<li><p><b> ¿Puedo utilizar Real Bike Racing hack mod apk en dispositivos iOS? </b></p><p>No, no se puede utilizar Real Bike Racing hack mod apk en dispositivos iOS. Este mod apk solo está diseñado para dispositivos Android y no funcionará en dispositivos iOS. Es posible que necesite buscar otras alternativas o métodos para obtener dinero y oro ilimitados en dispositivos iOS. </p></li>
|
52 |
-
<li><p><b>¿Puedo utilizar Real Bike Racing hack mod apk con otros mods o trucos? </b></p><p>Puede utilizar Real Bike Racing hack mod apk con otros mods o trucos, pero puede enfrentar algunos problemas de compatibilidad o conflictos. Algunos mods o trucos pueden no funcionar bien entre sí, lo que puede causar algunos errores o fallos en el juego. También puede aumentar sus posibilidades de ser detectado o prohibido mediante el uso de múltiples mods o trucos a la vez. </p></li>
|
53 |
-
</ol></p> 64aa2da5cf<br />
|
54 |
-
<br />
|
55 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/pygments/filters/__init__.py
DELETED
@@ -1,940 +0,0 @@
|
|
1 |
-
"""
|
2 |
-
pygments.filters
|
3 |
-
~~~~~~~~~~~~~~~~
|
4 |
-
|
5 |
-
Module containing filter lookup functions and default
|
6 |
-
filters.
|
7 |
-
|
8 |
-
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
|
9 |
-
:license: BSD, see LICENSE for details.
|
10 |
-
"""
|
11 |
-
|
12 |
-
import re
|
13 |
-
|
14 |
-
from pip._vendor.pygments.token import String, Comment, Keyword, Name, Error, Whitespace, \
|
15 |
-
string_to_tokentype
|
16 |
-
from pip._vendor.pygments.filter import Filter
|
17 |
-
from pip._vendor.pygments.util import get_list_opt, get_int_opt, get_bool_opt, \
|
18 |
-
get_choice_opt, ClassNotFound, OptionError
|
19 |
-
from pip._vendor.pygments.plugin import find_plugin_filters
|
20 |
-
|
21 |
-
|
22 |
-
def find_filter_class(filtername):
|
23 |
-
"""Lookup a filter by name. Return None if not found."""
|
24 |
-
if filtername in FILTERS:
|
25 |
-
return FILTERS[filtername]
|
26 |
-
for name, cls in find_plugin_filters():
|
27 |
-
if name == filtername:
|
28 |
-
return cls
|
29 |
-
return None
|
30 |
-
|
31 |
-
|
32 |
-
def get_filter_by_name(filtername, **options):
|
33 |
-
"""Return an instantiated filter.
|
34 |
-
|
35 |
-
Options are passed to the filter initializer if wanted.
|
36 |
-
Raise a ClassNotFound if not found.
|
37 |
-
"""
|
38 |
-
cls = find_filter_class(filtername)
|
39 |
-
if cls:
|
40 |
-
return cls(**options)
|
41 |
-
else:
|
42 |
-
raise ClassNotFound('filter %r not found' % filtername)
|
43 |
-
|
44 |
-
|
45 |
-
def get_all_filters():
|
46 |
-
"""Return a generator of all filter names."""
|
47 |
-
yield from FILTERS
|
48 |
-
for name, _ in find_plugin_filters():
|
49 |
-
yield name
|
50 |
-
|
51 |
-
|
52 |
-
def _replace_special(ttype, value, regex, specialttype,
|
53 |
-
replacefunc=lambda x: x):
|
54 |
-
last = 0
|
55 |
-
for match in regex.finditer(value):
|
56 |
-
start, end = match.start(), match.end()
|
57 |
-
if start != last:
|
58 |
-
yield ttype, value[last:start]
|
59 |
-
yield specialttype, replacefunc(value[start:end])
|
60 |
-
last = end
|
61 |
-
if last != len(value):
|
62 |
-
yield ttype, value[last:]
|
63 |
-
|
64 |
-
|
65 |
-
class CodeTagFilter(Filter):
|
66 |
-
"""Highlight special code tags in comments and docstrings.
|
67 |
-
|
68 |
-
Options accepted:
|
69 |
-
|
70 |
-
`codetags` : list of strings
|
71 |
-
A list of strings that are flagged as code tags. The default is to
|
72 |
-
highlight ``XXX``, ``TODO``, ``FIXME``, ``BUG`` and ``NOTE``.
|
73 |
-
|
74 |
-
.. versionchanged:: 2.13
|
75 |
-
Now recognizes ``FIXME`` by default.
|
76 |
-
"""
|
77 |
-
|
78 |
-
def __init__(self, **options):
|
79 |
-
Filter.__init__(self, **options)
|
80 |
-
tags = get_list_opt(options, 'codetags',
|
81 |
-
['XXX', 'TODO', 'FIXME', 'BUG', 'NOTE'])
|
82 |
-
self.tag_re = re.compile(r'\b(%s)\b' % '|'.join([
|
83 |
-
re.escape(tag) for tag in tags if tag
|
84 |
-
]))
|
85 |
-
|
86 |
-
def filter(self, lexer, stream):
|
87 |
-
regex = self.tag_re
|
88 |
-
for ttype, value in stream:
|
89 |
-
if ttype in String.Doc or \
|
90 |
-
ttype in Comment and \
|
91 |
-
ttype not in Comment.Preproc:
|
92 |
-
yield from _replace_special(ttype, value, regex, Comment.Special)
|
93 |
-
else:
|
94 |
-
yield ttype, value
|
95 |
-
|
96 |
-
|
97 |
-
class SymbolFilter(Filter):
|
98 |
-
"""Convert mathematical symbols such as \\<longrightarrow> in Isabelle
|
99 |
-
or \\longrightarrow in LaTeX into Unicode characters.
|
100 |
-
|
101 |
-
This is mostly useful for HTML or console output when you want to
|
102 |
-
approximate the source rendering you'd see in an IDE.
|
103 |
-
|
104 |
-
Options accepted:
|
105 |
-
|
106 |
-
`lang` : string
|
107 |
-
The symbol language. Must be one of ``'isabelle'`` or
|
108 |
-
``'latex'``. The default is ``'isabelle'``.
|
109 |
-
"""
|
110 |
-
|
111 |
-
latex_symbols = {
|
112 |
-
'\\alpha' : '\U000003b1',
|
113 |
-
'\\beta' : '\U000003b2',
|
114 |
-
'\\gamma' : '\U000003b3',
|
115 |
-
'\\delta' : '\U000003b4',
|
116 |
-
'\\varepsilon' : '\U000003b5',
|
117 |
-
'\\zeta' : '\U000003b6',
|
118 |
-
'\\eta' : '\U000003b7',
|
119 |
-
'\\vartheta' : '\U000003b8',
|
120 |
-
'\\iota' : '\U000003b9',
|
121 |
-
'\\kappa' : '\U000003ba',
|
122 |
-
'\\lambda' : '\U000003bb',
|
123 |
-
'\\mu' : '\U000003bc',
|
124 |
-
'\\nu' : '\U000003bd',
|
125 |
-
'\\xi' : '\U000003be',
|
126 |
-
'\\pi' : '\U000003c0',
|
127 |
-
'\\varrho' : '\U000003c1',
|
128 |
-
'\\sigma' : '\U000003c3',
|
129 |
-
'\\tau' : '\U000003c4',
|
130 |
-
'\\upsilon' : '\U000003c5',
|
131 |
-
'\\varphi' : '\U000003c6',
|
132 |
-
'\\chi' : '\U000003c7',
|
133 |
-
'\\psi' : '\U000003c8',
|
134 |
-
'\\omega' : '\U000003c9',
|
135 |
-
'\\Gamma' : '\U00000393',
|
136 |
-
'\\Delta' : '\U00000394',
|
137 |
-
'\\Theta' : '\U00000398',
|
138 |
-
'\\Lambda' : '\U0000039b',
|
139 |
-
'\\Xi' : '\U0000039e',
|
140 |
-
'\\Pi' : '\U000003a0',
|
141 |
-
'\\Sigma' : '\U000003a3',
|
142 |
-
'\\Upsilon' : '\U000003a5',
|
143 |
-
'\\Phi' : '\U000003a6',
|
144 |
-
'\\Psi' : '\U000003a8',
|
145 |
-
'\\Omega' : '\U000003a9',
|
146 |
-
'\\leftarrow' : '\U00002190',
|
147 |
-
'\\longleftarrow' : '\U000027f5',
|
148 |
-
'\\rightarrow' : '\U00002192',
|
149 |
-
'\\longrightarrow' : '\U000027f6',
|
150 |
-
'\\Leftarrow' : '\U000021d0',
|
151 |
-
'\\Longleftarrow' : '\U000027f8',
|
152 |
-
'\\Rightarrow' : '\U000021d2',
|
153 |
-
'\\Longrightarrow' : '\U000027f9',
|
154 |
-
'\\leftrightarrow' : '\U00002194',
|
155 |
-
'\\longleftrightarrow' : '\U000027f7',
|
156 |
-
'\\Leftrightarrow' : '\U000021d4',
|
157 |
-
'\\Longleftrightarrow' : '\U000027fa',
|
158 |
-
'\\mapsto' : '\U000021a6',
|
159 |
-
'\\longmapsto' : '\U000027fc',
|
160 |
-
'\\relbar' : '\U00002500',
|
161 |
-
'\\Relbar' : '\U00002550',
|
162 |
-
'\\hookleftarrow' : '\U000021a9',
|
163 |
-
'\\hookrightarrow' : '\U000021aa',
|
164 |
-
'\\leftharpoondown' : '\U000021bd',
|
165 |
-
'\\rightharpoondown' : '\U000021c1',
|
166 |
-
'\\leftharpoonup' : '\U000021bc',
|
167 |
-
'\\rightharpoonup' : '\U000021c0',
|
168 |
-
'\\rightleftharpoons' : '\U000021cc',
|
169 |
-
'\\leadsto' : '\U0000219d',
|
170 |
-
'\\downharpoonleft' : '\U000021c3',
|
171 |
-
'\\downharpoonright' : '\U000021c2',
|
172 |
-
'\\upharpoonleft' : '\U000021bf',
|
173 |
-
'\\upharpoonright' : '\U000021be',
|
174 |
-
'\\restriction' : '\U000021be',
|
175 |
-
'\\uparrow' : '\U00002191',
|
176 |
-
'\\Uparrow' : '\U000021d1',
|
177 |
-
'\\downarrow' : '\U00002193',
|
178 |
-
'\\Downarrow' : '\U000021d3',
|
179 |
-
'\\updownarrow' : '\U00002195',
|
180 |
-
'\\Updownarrow' : '\U000021d5',
|
181 |
-
'\\langle' : '\U000027e8',
|
182 |
-
'\\rangle' : '\U000027e9',
|
183 |
-
'\\lceil' : '\U00002308',
|
184 |
-
'\\rceil' : '\U00002309',
|
185 |
-
'\\lfloor' : '\U0000230a',
|
186 |
-
'\\rfloor' : '\U0000230b',
|
187 |
-
'\\flqq' : '\U000000ab',
|
188 |
-
'\\frqq' : '\U000000bb',
|
189 |
-
'\\bot' : '\U000022a5',
|
190 |
-
'\\top' : '\U000022a4',
|
191 |
-
'\\wedge' : '\U00002227',
|
192 |
-
'\\bigwedge' : '\U000022c0',
|
193 |
-
'\\vee' : '\U00002228',
|
194 |
-
'\\bigvee' : '\U000022c1',
|
195 |
-
'\\forall' : '\U00002200',
|
196 |
-
'\\exists' : '\U00002203',
|
197 |
-
'\\nexists' : '\U00002204',
|
198 |
-
'\\neg' : '\U000000ac',
|
199 |
-
'\\Box' : '\U000025a1',
|
200 |
-
'\\Diamond' : '\U000025c7',
|
201 |
-
'\\vdash' : '\U000022a2',
|
202 |
-
'\\models' : '\U000022a8',
|
203 |
-
'\\dashv' : '\U000022a3',
|
204 |
-
'\\surd' : '\U0000221a',
|
205 |
-
'\\le' : '\U00002264',
|
206 |
-
'\\ge' : '\U00002265',
|
207 |
-
'\\ll' : '\U0000226a',
|
208 |
-
'\\gg' : '\U0000226b',
|
209 |
-
'\\lesssim' : '\U00002272',
|
210 |
-
'\\gtrsim' : '\U00002273',
|
211 |
-
'\\lessapprox' : '\U00002a85',
|
212 |
-
'\\gtrapprox' : '\U00002a86',
|
213 |
-
'\\in' : '\U00002208',
|
214 |
-
'\\notin' : '\U00002209',
|
215 |
-
'\\subset' : '\U00002282',
|
216 |
-
'\\supset' : '\U00002283',
|
217 |
-
'\\subseteq' : '\U00002286',
|
218 |
-
'\\supseteq' : '\U00002287',
|
219 |
-
'\\sqsubset' : '\U0000228f',
|
220 |
-
'\\sqsupset' : '\U00002290',
|
221 |
-
'\\sqsubseteq' : '\U00002291',
|
222 |
-
'\\sqsupseteq' : '\U00002292',
|
223 |
-
'\\cap' : '\U00002229',
|
224 |
-
'\\bigcap' : '\U000022c2',
|
225 |
-
'\\cup' : '\U0000222a',
|
226 |
-
'\\bigcup' : '\U000022c3',
|
227 |
-
'\\sqcup' : '\U00002294',
|
228 |
-
'\\bigsqcup' : '\U00002a06',
|
229 |
-
'\\sqcap' : '\U00002293',
|
230 |
-
'\\Bigsqcap' : '\U00002a05',
|
231 |
-
'\\setminus' : '\U00002216',
|
232 |
-
'\\propto' : '\U0000221d',
|
233 |
-
'\\uplus' : '\U0000228e',
|
234 |
-
'\\bigplus' : '\U00002a04',
|
235 |
-
'\\sim' : '\U0000223c',
|
236 |
-
'\\doteq' : '\U00002250',
|
237 |
-
'\\simeq' : '\U00002243',
|
238 |
-
'\\approx' : '\U00002248',
|
239 |
-
'\\asymp' : '\U0000224d',
|
240 |
-
'\\cong' : '\U00002245',
|
241 |
-
'\\equiv' : '\U00002261',
|
242 |
-
'\\Join' : '\U000022c8',
|
243 |
-
'\\bowtie' : '\U00002a1d',
|
244 |
-
'\\prec' : '\U0000227a',
|
245 |
-
'\\succ' : '\U0000227b',
|
246 |
-
'\\preceq' : '\U0000227c',
|
247 |
-
'\\succeq' : '\U0000227d',
|
248 |
-
'\\parallel' : '\U00002225',
|
249 |
-
'\\mid' : '\U000000a6',
|
250 |
-
'\\pm' : '\U000000b1',
|
251 |
-
'\\mp' : '\U00002213',
|
252 |
-
'\\times' : '\U000000d7',
|
253 |
-
'\\div' : '\U000000f7',
|
254 |
-
'\\cdot' : '\U000022c5',
|
255 |
-
'\\star' : '\U000022c6',
|
256 |
-
'\\circ' : '\U00002218',
|
257 |
-
'\\dagger' : '\U00002020',
|
258 |
-
'\\ddagger' : '\U00002021',
|
259 |
-
'\\lhd' : '\U000022b2',
|
260 |
-
'\\rhd' : '\U000022b3',
|
261 |
-
'\\unlhd' : '\U000022b4',
|
262 |
-
'\\unrhd' : '\U000022b5',
|
263 |
-
'\\triangleleft' : '\U000025c3',
|
264 |
-
'\\triangleright' : '\U000025b9',
|
265 |
-
'\\triangle' : '\U000025b3',
|
266 |
-
'\\triangleq' : '\U0000225c',
|
267 |
-
'\\oplus' : '\U00002295',
|
268 |
-
'\\bigoplus' : '\U00002a01',
|
269 |
-
'\\otimes' : '\U00002297',
|
270 |
-
'\\bigotimes' : '\U00002a02',
|
271 |
-
'\\odot' : '\U00002299',
|
272 |
-
'\\bigodot' : '\U00002a00',
|
273 |
-
'\\ominus' : '\U00002296',
|
274 |
-
'\\oslash' : '\U00002298',
|
275 |
-
'\\dots' : '\U00002026',
|
276 |
-
'\\cdots' : '\U000022ef',
|
277 |
-
'\\sum' : '\U00002211',
|
278 |
-
'\\prod' : '\U0000220f',
|
279 |
-
'\\coprod' : '\U00002210',
|
280 |
-
'\\infty' : '\U0000221e',
|
281 |
-
'\\int' : '\U0000222b',
|
282 |
-
'\\oint' : '\U0000222e',
|
283 |
-
'\\clubsuit' : '\U00002663',
|
284 |
-
'\\diamondsuit' : '\U00002662',
|
285 |
-
'\\heartsuit' : '\U00002661',
|
286 |
-
'\\spadesuit' : '\U00002660',
|
287 |
-
'\\aleph' : '\U00002135',
|
288 |
-
'\\emptyset' : '\U00002205',
|
289 |
-
'\\nabla' : '\U00002207',
|
290 |
-
'\\partial' : '\U00002202',
|
291 |
-
'\\flat' : '\U0000266d',
|
292 |
-
'\\natural' : '\U0000266e',
|
293 |
-
'\\sharp' : '\U0000266f',
|
294 |
-
'\\angle' : '\U00002220',
|
295 |
-
'\\copyright' : '\U000000a9',
|
296 |
-
'\\textregistered' : '\U000000ae',
|
297 |
-
'\\textonequarter' : '\U000000bc',
|
298 |
-
'\\textonehalf' : '\U000000bd',
|
299 |
-
'\\textthreequarters' : '\U000000be',
|
300 |
-
'\\textordfeminine' : '\U000000aa',
|
301 |
-
'\\textordmasculine' : '\U000000ba',
|
302 |
-
'\\euro' : '\U000020ac',
|
303 |
-
'\\pounds' : '\U000000a3',
|
304 |
-
'\\yen' : '\U000000a5',
|
305 |
-
'\\textcent' : '\U000000a2',
|
306 |
-
'\\textcurrency' : '\U000000a4',
|
307 |
-
'\\textdegree' : '\U000000b0',
|
308 |
-
}
|
309 |
-
|
310 |
-
isabelle_symbols = {
|
311 |
-
'\\<zero>' : '\U0001d7ec',
|
312 |
-
'\\<one>' : '\U0001d7ed',
|
313 |
-
'\\<two>' : '\U0001d7ee',
|
314 |
-
'\\<three>' : '\U0001d7ef',
|
315 |
-
'\\<four>' : '\U0001d7f0',
|
316 |
-
'\\<five>' : '\U0001d7f1',
|
317 |
-
'\\<six>' : '\U0001d7f2',
|
318 |
-
'\\<seven>' : '\U0001d7f3',
|
319 |
-
'\\<eight>' : '\U0001d7f4',
|
320 |
-
'\\<nine>' : '\U0001d7f5',
|
321 |
-
'\\<A>' : '\U0001d49c',
|
322 |
-
'\\<B>' : '\U0000212c',
|
323 |
-
'\\<C>' : '\U0001d49e',
|
324 |
-
'\\<D>' : '\U0001d49f',
|
325 |
-
'\\<E>' : '\U00002130',
|
326 |
-
'\\<F>' : '\U00002131',
|
327 |
-
'\\<G>' : '\U0001d4a2',
|
328 |
-
'\\<H>' : '\U0000210b',
|
329 |
-
'\\<I>' : '\U00002110',
|
330 |
-
'\\<J>' : '\U0001d4a5',
|
331 |
-
'\\<K>' : '\U0001d4a6',
|
332 |
-
'\\<L>' : '\U00002112',
|
333 |
-
'\\<M>' : '\U00002133',
|
334 |
-
'\\<N>' : '\U0001d4a9',
|
335 |
-
'\\<O>' : '\U0001d4aa',
|
336 |
-
'\\<P>' : '\U0001d4ab',
|
337 |
-
'\\<Q>' : '\U0001d4ac',
|
338 |
-
'\\<R>' : '\U0000211b',
|
339 |
-
'\\<S>' : '\U0001d4ae',
|
340 |
-
'\\<T>' : '\U0001d4af',
|
341 |
-
'\\<U>' : '\U0001d4b0',
|
342 |
-
'\\<V>' : '\U0001d4b1',
|
343 |
-
'\\<W>' : '\U0001d4b2',
|
344 |
-
'\\<X>' : '\U0001d4b3',
|
345 |
-
'\\<Y>' : '\U0001d4b4',
|
346 |
-
'\\<Z>' : '\U0001d4b5',
|
347 |
-
'\\<a>' : '\U0001d5ba',
|
348 |
-
'\\<b>' : '\U0001d5bb',
|
349 |
-
'\\<c>' : '\U0001d5bc',
|
350 |
-
'\\<d>' : '\U0001d5bd',
|
351 |
-
'\\<e>' : '\U0001d5be',
|
352 |
-
'\\<f>' : '\U0001d5bf',
|
353 |
-
'\\<g>' : '\U0001d5c0',
|
354 |
-
'\\<h>' : '\U0001d5c1',
|
355 |
-
'\\<i>' : '\U0001d5c2',
|
356 |
-
'\\<j>' : '\U0001d5c3',
|
357 |
-
'\\<k>' : '\U0001d5c4',
|
358 |
-
'\\<l>' : '\U0001d5c5',
|
359 |
-
'\\<m>' : '\U0001d5c6',
|
360 |
-
'\\<n>' : '\U0001d5c7',
|
361 |
-
'\\<o>' : '\U0001d5c8',
|
362 |
-
'\\<p>' : '\U0001d5c9',
|
363 |
-
'\\<q>' : '\U0001d5ca',
|
364 |
-
'\\<r>' : '\U0001d5cb',
|
365 |
-
'\\<s>' : '\U0001d5cc',
|
366 |
-
'\\<t>' : '\U0001d5cd',
|
367 |
-
'\\<u>' : '\U0001d5ce',
|
368 |
-
'\\<v>' : '\U0001d5cf',
|
369 |
-
'\\<w>' : '\U0001d5d0',
|
370 |
-
'\\<x>' : '\U0001d5d1',
|
371 |
-
'\\<y>' : '\U0001d5d2',
|
372 |
-
'\\<z>' : '\U0001d5d3',
|
373 |
-
'\\<AA>' : '\U0001d504',
|
374 |
-
'\\<BB>' : '\U0001d505',
|
375 |
-
'\\<CC>' : '\U0000212d',
|
376 |
-
'\\<DD>' : '\U0001d507',
|
377 |
-
'\\<EE>' : '\U0001d508',
|
378 |
-
'\\<FF>' : '\U0001d509',
|
379 |
-
'\\<GG>' : '\U0001d50a',
|
380 |
-
'\\<HH>' : '\U0000210c',
|
381 |
-
'\\<II>' : '\U00002111',
|
382 |
-
'\\<JJ>' : '\U0001d50d',
|
383 |
-
'\\<KK>' : '\U0001d50e',
|
384 |
-
'\\<LL>' : '\U0001d50f',
|
385 |
-
'\\<MM>' : '\U0001d510',
|
386 |
-
'\\<NN>' : '\U0001d511',
|
387 |
-
'\\<OO>' : '\U0001d512',
|
388 |
-
'\\<PP>' : '\U0001d513',
|
389 |
-
'\\<QQ>' : '\U0001d514',
|
390 |
-
'\\<RR>' : '\U0000211c',
|
391 |
-
'\\<SS>' : '\U0001d516',
|
392 |
-
'\\<TT>' : '\U0001d517',
|
393 |
-
'\\<UU>' : '\U0001d518',
|
394 |
-
'\\<VV>' : '\U0001d519',
|
395 |
-
'\\<WW>' : '\U0001d51a',
|
396 |
-
'\\<XX>' : '\U0001d51b',
|
397 |
-
'\\<YY>' : '\U0001d51c',
|
398 |
-
'\\<ZZ>' : '\U00002128',
|
399 |
-
'\\<aa>' : '\U0001d51e',
|
400 |
-
'\\<bb>' : '\U0001d51f',
|
401 |
-
'\\<cc>' : '\U0001d520',
|
402 |
-
'\\<dd>' : '\U0001d521',
|
403 |
-
'\\<ee>' : '\U0001d522',
|
404 |
-
'\\<ff>' : '\U0001d523',
|
405 |
-
'\\<gg>' : '\U0001d524',
|
406 |
-
'\\<hh>' : '\U0001d525',
|
407 |
-
'\\<ii>' : '\U0001d526',
|
408 |
-
'\\<jj>' : '\U0001d527',
|
409 |
-
'\\<kk>' : '\U0001d528',
|
410 |
-
'\\<ll>' : '\U0001d529',
|
411 |
-
'\\<mm>' : '\U0001d52a',
|
412 |
-
'\\<nn>' : '\U0001d52b',
|
413 |
-
'\\<oo>' : '\U0001d52c',
|
414 |
-
'\\<pp>' : '\U0001d52d',
|
415 |
-
'\\<qq>' : '\U0001d52e',
|
416 |
-
'\\<rr>' : '\U0001d52f',
|
417 |
-
'\\<ss>' : '\U0001d530',
|
418 |
-
'\\<tt>' : '\U0001d531',
|
419 |
-
'\\<uu>' : '\U0001d532',
|
420 |
-
'\\<vv>' : '\U0001d533',
|
421 |
-
'\\<ww>' : '\U0001d534',
|
422 |
-
'\\<xx>' : '\U0001d535',
|
423 |
-
'\\<yy>' : '\U0001d536',
|
424 |
-
'\\<zz>' : '\U0001d537',
|
425 |
-
'\\<alpha>' : '\U000003b1',
|
426 |
-
'\\<beta>' : '\U000003b2',
|
427 |
-
'\\<gamma>' : '\U000003b3',
|
428 |
-
'\\<delta>' : '\U000003b4',
|
429 |
-
'\\<epsilon>' : '\U000003b5',
|
430 |
-
'\\<zeta>' : '\U000003b6',
|
431 |
-
'\\<eta>' : '\U000003b7',
|
432 |
-
'\\<theta>' : '\U000003b8',
|
433 |
-
'\\<iota>' : '\U000003b9',
|
434 |
-
'\\<kappa>' : '\U000003ba',
|
435 |
-
'\\<lambda>' : '\U000003bb',
|
436 |
-
'\\<mu>' : '\U000003bc',
|
437 |
-
'\\<nu>' : '\U000003bd',
|
438 |
-
'\\<xi>' : '\U000003be',
|
439 |
-
'\\<pi>' : '\U000003c0',
|
440 |
-
'\\<rho>' : '\U000003c1',
|
441 |
-
'\\<sigma>' : '\U000003c3',
|
442 |
-
'\\<tau>' : '\U000003c4',
|
443 |
-
'\\<upsilon>' : '\U000003c5',
|
444 |
-
'\\<phi>' : '\U000003c6',
|
445 |
-
'\\<chi>' : '\U000003c7',
|
446 |
-
'\\<psi>' : '\U000003c8',
|
447 |
-
'\\<omega>' : '\U000003c9',
|
448 |
-
'\\<Gamma>' : '\U00000393',
|
449 |
-
'\\<Delta>' : '\U00000394',
|
450 |
-
'\\<Theta>' : '\U00000398',
|
451 |
-
'\\<Lambda>' : '\U0000039b',
|
452 |
-
'\\<Xi>' : '\U0000039e',
|
453 |
-
'\\<Pi>' : '\U000003a0',
|
454 |
-
'\\<Sigma>' : '\U000003a3',
|
455 |
-
'\\<Upsilon>' : '\U000003a5',
|
456 |
-
'\\<Phi>' : '\U000003a6',
|
457 |
-
'\\<Psi>' : '\U000003a8',
|
458 |
-
'\\<Omega>' : '\U000003a9',
|
459 |
-
'\\<bool>' : '\U0001d539',
|
460 |
-
'\\<complex>' : '\U00002102',
|
461 |
-
'\\<nat>' : '\U00002115',
|
462 |
-
'\\<rat>' : '\U0000211a',
|
463 |
-
'\\<real>' : '\U0000211d',
|
464 |
-
'\\<int>' : '\U00002124',
|
465 |
-
'\\<leftarrow>' : '\U00002190',
|
466 |
-
'\\<longleftarrow>' : '\U000027f5',
|
467 |
-
'\\<rightarrow>' : '\U00002192',
|
468 |
-
'\\<longrightarrow>' : '\U000027f6',
|
469 |
-
'\\<Leftarrow>' : '\U000021d0',
|
470 |
-
'\\<Longleftarrow>' : '\U000027f8',
|
471 |
-
'\\<Rightarrow>' : '\U000021d2',
|
472 |
-
'\\<Longrightarrow>' : '\U000027f9',
|
473 |
-
'\\<leftrightarrow>' : '\U00002194',
|
474 |
-
'\\<longleftrightarrow>' : '\U000027f7',
|
475 |
-
'\\<Leftrightarrow>' : '\U000021d4',
|
476 |
-
'\\<Longleftrightarrow>' : '\U000027fa',
|
477 |
-
'\\<mapsto>' : '\U000021a6',
|
478 |
-
'\\<longmapsto>' : '\U000027fc',
|
479 |
-
'\\<midarrow>' : '\U00002500',
|
480 |
-
'\\<Midarrow>' : '\U00002550',
|
481 |
-
'\\<hookleftarrow>' : '\U000021a9',
|
482 |
-
'\\<hookrightarrow>' : '\U000021aa',
|
483 |
-
'\\<leftharpoondown>' : '\U000021bd',
|
484 |
-
'\\<rightharpoondown>' : '\U000021c1',
|
485 |
-
'\\<leftharpoonup>' : '\U000021bc',
|
486 |
-
'\\<rightharpoonup>' : '\U000021c0',
|
487 |
-
'\\<rightleftharpoons>' : '\U000021cc',
|
488 |
-
'\\<leadsto>' : '\U0000219d',
|
489 |
-
'\\<downharpoonleft>' : '\U000021c3',
|
490 |
-
'\\<downharpoonright>' : '\U000021c2',
|
491 |
-
'\\<upharpoonleft>' : '\U000021bf',
|
492 |
-
'\\<upharpoonright>' : '\U000021be',
|
493 |
-
'\\<restriction>' : '\U000021be',
|
494 |
-
'\\<Colon>' : '\U00002237',
|
495 |
-
'\\<up>' : '\U00002191',
|
496 |
-
'\\<Up>' : '\U000021d1',
|
497 |
-
'\\<down>' : '\U00002193',
|
498 |
-
'\\<Down>' : '\U000021d3',
|
499 |
-
'\\<updown>' : '\U00002195',
|
500 |
-
'\\<Updown>' : '\U000021d5',
|
501 |
-
'\\<langle>' : '\U000027e8',
|
502 |
-
'\\<rangle>' : '\U000027e9',
|
503 |
-
'\\<lceil>' : '\U00002308',
|
504 |
-
'\\<rceil>' : '\U00002309',
|
505 |
-
'\\<lfloor>' : '\U0000230a',
|
506 |
-
'\\<rfloor>' : '\U0000230b',
|
507 |
-
'\\<lparr>' : '\U00002987',
|
508 |
-
'\\<rparr>' : '\U00002988',
|
509 |
-
'\\<lbrakk>' : '\U000027e6',
|
510 |
-
'\\<rbrakk>' : '\U000027e7',
|
511 |
-
'\\<lbrace>' : '\U00002983',
|
512 |
-
'\\<rbrace>' : '\U00002984',
|
513 |
-
'\\<guillemotleft>' : '\U000000ab',
|
514 |
-
'\\<guillemotright>' : '\U000000bb',
|
515 |
-
'\\<bottom>' : '\U000022a5',
|
516 |
-
'\\<top>' : '\U000022a4',
|
517 |
-
'\\<and>' : '\U00002227',
|
518 |
-
'\\<And>' : '\U000022c0',
|
519 |
-
'\\<or>' : '\U00002228',
|
520 |
-
'\\<Or>' : '\U000022c1',
|
521 |
-
'\\<forall>' : '\U00002200',
|
522 |
-
'\\<exists>' : '\U00002203',
|
523 |
-
'\\<nexists>' : '\U00002204',
|
524 |
-
'\\<not>' : '\U000000ac',
|
525 |
-
'\\<box>' : '\U000025a1',
|
526 |
-
'\\<diamond>' : '\U000025c7',
|
527 |
-
'\\<turnstile>' : '\U000022a2',
|
528 |
-
'\\<Turnstile>' : '\U000022a8',
|
529 |
-
'\\<tturnstile>' : '\U000022a9',
|
530 |
-
'\\<TTurnstile>' : '\U000022ab',
|
531 |
-
'\\<stileturn>' : '\U000022a3',
|
532 |
-
'\\<surd>' : '\U0000221a',
|
533 |
-
'\\<le>' : '\U00002264',
|
534 |
-
'\\<ge>' : '\U00002265',
|
535 |
-
'\\<lless>' : '\U0000226a',
|
536 |
-
'\\<ggreater>' : '\U0000226b',
|
537 |
-
'\\<lesssim>' : '\U00002272',
|
538 |
-
'\\<greatersim>' : '\U00002273',
|
539 |
-
'\\<lessapprox>' : '\U00002a85',
|
540 |
-
'\\<greaterapprox>' : '\U00002a86',
|
541 |
-
'\\<in>' : '\U00002208',
|
542 |
-
'\\<notin>' : '\U00002209',
|
543 |
-
'\\<subset>' : '\U00002282',
|
544 |
-
'\\<supset>' : '\U00002283',
|
545 |
-
'\\<subseteq>' : '\U00002286',
|
546 |
-
'\\<supseteq>' : '\U00002287',
|
547 |
-
'\\<sqsubset>' : '\U0000228f',
|
548 |
-
'\\<sqsupset>' : '\U00002290',
|
549 |
-
'\\<sqsubseteq>' : '\U00002291',
|
550 |
-
'\\<sqsupseteq>' : '\U00002292',
|
551 |
-
'\\<inter>' : '\U00002229',
|
552 |
-
'\\<Inter>' : '\U000022c2',
|
553 |
-
'\\<union>' : '\U0000222a',
|
554 |
-
'\\<Union>' : '\U000022c3',
|
555 |
-
'\\<squnion>' : '\U00002294',
|
556 |
-
'\\<Squnion>' : '\U00002a06',
|
557 |
-
'\\<sqinter>' : '\U00002293',
|
558 |
-
'\\<Sqinter>' : '\U00002a05',
|
559 |
-
'\\<setminus>' : '\U00002216',
|
560 |
-
'\\<propto>' : '\U0000221d',
|
561 |
-
'\\<uplus>' : '\U0000228e',
|
562 |
-
'\\<Uplus>' : '\U00002a04',
|
563 |
-
'\\<noteq>' : '\U00002260',
|
564 |
-
'\\<sim>' : '\U0000223c',
|
565 |
-
'\\<doteq>' : '\U00002250',
|
566 |
-
'\\<simeq>' : '\U00002243',
|
567 |
-
'\\<approx>' : '\U00002248',
|
568 |
-
'\\<asymp>' : '\U0000224d',
|
569 |
-
'\\<cong>' : '\U00002245',
|
570 |
-
'\\<smile>' : '\U00002323',
|
571 |
-
'\\<equiv>' : '\U00002261',
|
572 |
-
'\\<frown>' : '\U00002322',
|
573 |
-
'\\<Join>' : '\U000022c8',
|
574 |
-
'\\<bowtie>' : '\U00002a1d',
|
575 |
-
'\\<prec>' : '\U0000227a',
|
576 |
-
'\\<succ>' : '\U0000227b',
|
577 |
-
'\\<preceq>' : '\U0000227c',
|
578 |
-
'\\<succeq>' : '\U0000227d',
|
579 |
-
'\\<parallel>' : '\U00002225',
|
580 |
-
'\\<bar>' : '\U000000a6',
|
581 |
-
'\\<plusminus>' : '\U000000b1',
|
582 |
-
'\\<minusplus>' : '\U00002213',
|
583 |
-
'\\<times>' : '\U000000d7',
|
584 |
-
'\\<div>' : '\U000000f7',
|
585 |
-
'\\<cdot>' : '\U000022c5',
|
586 |
-
'\\<star>' : '\U000022c6',
|
587 |
-
'\\<bullet>' : '\U00002219',
|
588 |
-
'\\<circ>' : '\U00002218',
|
589 |
-
'\\<dagger>' : '\U00002020',
|
590 |
-
'\\<ddagger>' : '\U00002021',
|
591 |
-
'\\<lhd>' : '\U000022b2',
|
592 |
-
'\\<rhd>' : '\U000022b3',
|
593 |
-
'\\<unlhd>' : '\U000022b4',
|
594 |
-
'\\<unrhd>' : '\U000022b5',
|
595 |
-
'\\<triangleleft>' : '\U000025c3',
|
596 |
-
'\\<triangleright>' : '\U000025b9',
|
597 |
-
'\\<triangle>' : '\U000025b3',
|
598 |
-
'\\<triangleq>' : '\U0000225c',
|
599 |
-
'\\<oplus>' : '\U00002295',
|
600 |
-
'\\<Oplus>' : '\U00002a01',
|
601 |
-
'\\<otimes>' : '\U00002297',
|
602 |
-
'\\<Otimes>' : '\U00002a02',
|
603 |
-
'\\<odot>' : '\U00002299',
|
604 |
-
'\\<Odot>' : '\U00002a00',
|
605 |
-
'\\<ominus>' : '\U00002296',
|
606 |
-
'\\<oslash>' : '\U00002298',
|
607 |
-
'\\<dots>' : '\U00002026',
|
608 |
-
'\\<cdots>' : '\U000022ef',
|
609 |
-
'\\<Sum>' : '\U00002211',
|
610 |
-
'\\<Prod>' : '\U0000220f',
|
611 |
-
'\\<Coprod>' : '\U00002210',
|
612 |
-
'\\<infinity>' : '\U0000221e',
|
613 |
-
'\\<integral>' : '\U0000222b',
|
614 |
-
'\\<ointegral>' : '\U0000222e',
|
615 |
-
'\\<clubsuit>' : '\U00002663',
|
616 |
-
'\\<diamondsuit>' : '\U00002662',
|
617 |
-
'\\<heartsuit>' : '\U00002661',
|
618 |
-
'\\<spadesuit>' : '\U00002660',
|
619 |
-
'\\<aleph>' : '\U00002135',
|
620 |
-
'\\<emptyset>' : '\U00002205',
|
621 |
-
'\\<nabla>' : '\U00002207',
|
622 |
-
'\\<partial>' : '\U00002202',
|
623 |
-
'\\<flat>' : '\U0000266d',
|
624 |
-
'\\<natural>' : '\U0000266e',
|
625 |
-
'\\<sharp>' : '\U0000266f',
|
626 |
-
'\\<angle>' : '\U00002220',
|
627 |
-
'\\<copyright>' : '\U000000a9',
|
628 |
-
'\\<registered>' : '\U000000ae',
|
629 |
-
'\\<hyphen>' : '\U000000ad',
|
630 |
-
'\\<inverse>' : '\U000000af',
|
631 |
-
'\\<onequarter>' : '\U000000bc',
|
632 |
-
'\\<onehalf>' : '\U000000bd',
|
633 |
-
'\\<threequarters>' : '\U000000be',
|
634 |
-
'\\<ordfeminine>' : '\U000000aa',
|
635 |
-
'\\<ordmasculine>' : '\U000000ba',
|
636 |
-
'\\<section>' : '\U000000a7',
|
637 |
-
'\\<paragraph>' : '\U000000b6',
|
638 |
-
'\\<exclamdown>' : '\U000000a1',
|
639 |
-
'\\<questiondown>' : '\U000000bf',
|
640 |
-
'\\<euro>' : '\U000020ac',
|
641 |
-
'\\<pounds>' : '\U000000a3',
|
642 |
-
'\\<yen>' : '\U000000a5',
|
643 |
-
'\\<cent>' : '\U000000a2',
|
644 |
-
'\\<currency>' : '\U000000a4',
|
645 |
-
'\\<degree>' : '\U000000b0',
|
646 |
-
'\\<amalg>' : '\U00002a3f',
|
647 |
-
'\\<mho>' : '\U00002127',
|
648 |
-
'\\<lozenge>' : '\U000025ca',
|
649 |
-
'\\<wp>' : '\U00002118',
|
650 |
-
'\\<wrong>' : '\U00002240',
|
651 |
-
'\\<struct>' : '\U000022c4',
|
652 |
-
'\\<acute>' : '\U000000b4',
|
653 |
-
'\\<index>' : '\U00000131',
|
654 |
-
'\\<dieresis>' : '\U000000a8',
|
655 |
-
'\\<cedilla>' : '\U000000b8',
|
656 |
-
'\\<hungarumlaut>' : '\U000002dd',
|
657 |
-
'\\<some>' : '\U000003f5',
|
658 |
-
'\\<newline>' : '\U000023ce',
|
659 |
-
'\\<open>' : '\U00002039',
|
660 |
-
'\\<close>' : '\U0000203a',
|
661 |
-
'\\<here>' : '\U00002302',
|
662 |
-
'\\<^sub>' : '\U000021e9',
|
663 |
-
'\\<^sup>' : '\U000021e7',
|
664 |
-
'\\<^bold>' : '\U00002759',
|
665 |
-
'\\<^bsub>' : '\U000021d8',
|
666 |
-
'\\<^esub>' : '\U000021d9',
|
667 |
-
'\\<^bsup>' : '\U000021d7',
|
668 |
-
'\\<^esup>' : '\U000021d6',
|
669 |
-
}
|
670 |
-
|
671 |
-
lang_map = {'isabelle' : isabelle_symbols, 'latex' : latex_symbols}
|
672 |
-
|
673 |
-
def __init__(self, **options):
|
674 |
-
Filter.__init__(self, **options)
|
675 |
-
lang = get_choice_opt(options, 'lang',
|
676 |
-
['isabelle', 'latex'], 'isabelle')
|
677 |
-
self.symbols = self.lang_map[lang]
|
678 |
-
|
679 |
-
def filter(self, lexer, stream):
|
680 |
-
for ttype, value in stream:
|
681 |
-
if value in self.symbols:
|
682 |
-
yield ttype, self.symbols[value]
|
683 |
-
else:
|
684 |
-
yield ttype, value
|
685 |
-
|
686 |
-
|
687 |
-
class KeywordCaseFilter(Filter):
|
688 |
-
"""Convert keywords to lowercase or uppercase or capitalize them, which
|
689 |
-
means first letter uppercase, rest lowercase.
|
690 |
-
|
691 |
-
This can be useful e.g. if you highlight Pascal code and want to adapt the
|
692 |
-
code to your styleguide.
|
693 |
-
|
694 |
-
Options accepted:
|
695 |
-
|
696 |
-
`case` : string
|
697 |
-
The casing to convert keywords to. Must be one of ``'lower'``,
|
698 |
-
``'upper'`` or ``'capitalize'``. The default is ``'lower'``.
|
699 |
-
"""
|
700 |
-
|
701 |
-
def __init__(self, **options):
|
702 |
-
Filter.__init__(self, **options)
|
703 |
-
case = get_choice_opt(options, 'case',
|
704 |
-
['lower', 'upper', 'capitalize'], 'lower')
|
705 |
-
self.convert = getattr(str, case)
|
706 |
-
|
707 |
-
def filter(self, lexer, stream):
|
708 |
-
for ttype, value in stream:
|
709 |
-
if ttype in Keyword:
|
710 |
-
yield ttype, self.convert(value)
|
711 |
-
else:
|
712 |
-
yield ttype, value
|
713 |
-
|
714 |
-
|
715 |
-
class NameHighlightFilter(Filter):
|
716 |
-
"""Highlight a normal Name (and Name.*) token with a different token type.
|
717 |
-
|
718 |
-
Example::
|
719 |
-
|
720 |
-
filter = NameHighlightFilter(
|
721 |
-
names=['foo', 'bar', 'baz'],
|
722 |
-
tokentype=Name.Function,
|
723 |
-
)
|
724 |
-
|
725 |
-
This would highlight the names "foo", "bar" and "baz"
|
726 |
-
as functions. `Name.Function` is the default token type.
|
727 |
-
|
728 |
-
Options accepted:
|
729 |
-
|
730 |
-
`names` : list of strings
|
731 |
-
A list of names that should be given the different token type.
|
732 |
-
There is no default.
|
733 |
-
`tokentype` : TokenType or string
|
734 |
-
A token type or a string containing a token type name that is
|
735 |
-
used for highlighting the strings in `names`. The default is
|
736 |
-
`Name.Function`.
|
737 |
-
"""
|
738 |
-
|
739 |
-
def __init__(self, **options):
|
740 |
-
Filter.__init__(self, **options)
|
741 |
-
self.names = set(get_list_opt(options, 'names', []))
|
742 |
-
tokentype = options.get('tokentype')
|
743 |
-
if tokentype:
|
744 |
-
self.tokentype = string_to_tokentype(tokentype)
|
745 |
-
else:
|
746 |
-
self.tokentype = Name.Function
|
747 |
-
|
748 |
-
def filter(self, lexer, stream):
|
749 |
-
for ttype, value in stream:
|
750 |
-
if ttype in Name and value in self.names:
|
751 |
-
yield self.tokentype, value
|
752 |
-
else:
|
753 |
-
yield ttype, value
|
754 |
-
|
755 |
-
|
756 |
-
class ErrorToken(Exception):
|
757 |
-
pass
|
758 |
-
|
759 |
-
|
760 |
-
class RaiseOnErrorTokenFilter(Filter):
|
761 |
-
"""Raise an exception when the lexer generates an error token.
|
762 |
-
|
763 |
-
Options accepted:
|
764 |
-
|
765 |
-
`excclass` : Exception class
|
766 |
-
The exception class to raise.
|
767 |
-
The default is `pygments.filters.ErrorToken`.
|
768 |
-
|
769 |
-
.. versionadded:: 0.8
|
770 |
-
"""
|
771 |
-
|
772 |
-
def __init__(self, **options):
|
773 |
-
Filter.__init__(self, **options)
|
774 |
-
self.exception = options.get('excclass', ErrorToken)
|
775 |
-
try:
|
776 |
-
# issubclass() will raise TypeError if first argument is not a class
|
777 |
-
if not issubclass(self.exception, Exception):
|
778 |
-
raise TypeError
|
779 |
-
except TypeError:
|
780 |
-
raise OptionError('excclass option is not an exception class')
|
781 |
-
|
782 |
-
def filter(self, lexer, stream):
|
783 |
-
for ttype, value in stream:
|
784 |
-
if ttype is Error:
|
785 |
-
raise self.exception(value)
|
786 |
-
yield ttype, value
|
787 |
-
|
788 |
-
|
789 |
-
class VisibleWhitespaceFilter(Filter):
|
790 |
-
"""Convert tabs, newlines and/or spaces to visible characters.
|
791 |
-
|
792 |
-
Options accepted:
|
793 |
-
|
794 |
-
`spaces` : string or bool
|
795 |
-
If this is a one-character string, spaces will be replaces by this string.
|
796 |
-
If it is another true value, spaces will be replaced by ``·`` (unicode
|
797 |
-
MIDDLE DOT). If it is a false value, spaces will not be replaced. The
|
798 |
-
default is ``False``.
|
799 |
-
`tabs` : string or bool
|
800 |
-
The same as for `spaces`, but the default replacement character is ``»``
|
801 |
-
(unicode RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK). The default value
|
802 |
-
is ``False``. Note: this will not work if the `tabsize` option for the
|
803 |
-
lexer is nonzero, as tabs will already have been expanded then.
|
804 |
-
`tabsize` : int
|
805 |
-
If tabs are to be replaced by this filter (see the `tabs` option), this
|
806 |
-
is the total number of characters that a tab should be expanded to.
|
807 |
-
The default is ``8``.
|
808 |
-
`newlines` : string or bool
|
809 |
-
The same as for `spaces`, but the default replacement character is ``¶``
|
810 |
-
(unicode PILCROW SIGN). The default value is ``False``.
|
811 |
-
`wstokentype` : bool
|
812 |
-
If true, give whitespace the special `Whitespace` token type. This allows
|
813 |
-
styling the visible whitespace differently (e.g. greyed out), but it can
|
814 |
-
disrupt background colors. The default is ``True``.
|
815 |
-
|
816 |
-
.. versionadded:: 0.8
|
817 |
-
"""
|
818 |
-
|
819 |
-
def __init__(self, **options):
|
820 |
-
Filter.__init__(self, **options)
|
821 |
-
for name, default in [('spaces', '·'),
|
822 |
-
('tabs', '»'),
|
823 |
-
('newlines', '¶')]:
|
824 |
-
opt = options.get(name, False)
|
825 |
-
if isinstance(opt, str) and len(opt) == 1:
|
826 |
-
setattr(self, name, opt)
|
827 |
-
else:
|
828 |
-
setattr(self, name, (opt and default or ''))
|
829 |
-
tabsize = get_int_opt(options, 'tabsize', 8)
|
830 |
-
if self.tabs:
|
831 |
-
self.tabs += ' ' * (tabsize - 1)
|
832 |
-
if self.newlines:
|
833 |
-
self.newlines += '\n'
|
834 |
-
self.wstt = get_bool_opt(options, 'wstokentype', True)
|
835 |
-
|
836 |
-
def filter(self, lexer, stream):
|
837 |
-
if self.wstt:
|
838 |
-
spaces = self.spaces or ' '
|
839 |
-
tabs = self.tabs or '\t'
|
840 |
-
newlines = self.newlines or '\n'
|
841 |
-
regex = re.compile(r'\s')
|
842 |
-
|
843 |
-
def replacefunc(wschar):
|
844 |
-
if wschar == ' ':
|
845 |
-
return spaces
|
846 |
-
elif wschar == '\t':
|
847 |
-
return tabs
|
848 |
-
elif wschar == '\n':
|
849 |
-
return newlines
|
850 |
-
return wschar
|
851 |
-
|
852 |
-
for ttype, value in stream:
|
853 |
-
yield from _replace_special(ttype, value, regex, Whitespace,
|
854 |
-
replacefunc)
|
855 |
-
else:
|
856 |
-
spaces, tabs, newlines = self.spaces, self.tabs, self.newlines
|
857 |
-
# simpler processing
|
858 |
-
for ttype, value in stream:
|
859 |
-
if spaces:
|
860 |
-
value = value.replace(' ', spaces)
|
861 |
-
if tabs:
|
862 |
-
value = value.replace('\t', tabs)
|
863 |
-
if newlines:
|
864 |
-
value = value.replace('\n', newlines)
|
865 |
-
yield ttype, value
|
866 |
-
|
867 |
-
|
868 |
-
class GobbleFilter(Filter):
|
869 |
-
"""Gobbles source code lines (eats initial characters).
|
870 |
-
|
871 |
-
This filter drops the first ``n`` characters off every line of code. This
|
872 |
-
may be useful when the source code fed to the lexer is indented by a fixed
|
873 |
-
amount of space that isn't desired in the output.
|
874 |
-
|
875 |
-
Options accepted:
|
876 |
-
|
877 |
-
`n` : int
|
878 |
-
The number of characters to gobble.
|
879 |
-
|
880 |
-
.. versionadded:: 1.2
|
881 |
-
"""
|
882 |
-
def __init__(self, **options):
|
883 |
-
Filter.__init__(self, **options)
|
884 |
-
self.n = get_int_opt(options, 'n', 0)
|
885 |
-
|
886 |
-
def gobble(self, value, left):
|
887 |
-
if left < len(value):
|
888 |
-
return value[left:], 0
|
889 |
-
else:
|
890 |
-
return '', left - len(value)
|
891 |
-
|
892 |
-
def filter(self, lexer, stream):
|
893 |
-
n = self.n
|
894 |
-
left = n # How many characters left to gobble.
|
895 |
-
for ttype, value in stream:
|
896 |
-
# Remove ``left`` tokens from first line, ``n`` from all others.
|
897 |
-
parts = value.split('\n')
|
898 |
-
(parts[0], left) = self.gobble(parts[0], left)
|
899 |
-
for i in range(1, len(parts)):
|
900 |
-
(parts[i], left) = self.gobble(parts[i], n)
|
901 |
-
value = '\n'.join(parts)
|
902 |
-
|
903 |
-
if value != '':
|
904 |
-
yield ttype, value
|
905 |
-
|
906 |
-
|
907 |
-
class TokenMergeFilter(Filter):
|
908 |
-
"""Merges consecutive tokens with the same token type in the output
|
909 |
-
stream of a lexer.
|
910 |
-
|
911 |
-
.. versionadded:: 1.2
|
912 |
-
"""
|
913 |
-
def __init__(self, **options):
|
914 |
-
Filter.__init__(self, **options)
|
915 |
-
|
916 |
-
def filter(self, lexer, stream):
|
917 |
-
current_type = None
|
918 |
-
current_value = None
|
919 |
-
for ttype, value in stream:
|
920 |
-
if ttype is current_type:
|
921 |
-
current_value += value
|
922 |
-
else:
|
923 |
-
if current_type is not None:
|
924 |
-
yield current_type, current_value
|
925 |
-
current_type = ttype
|
926 |
-
current_value = value
|
927 |
-
if current_type is not None:
|
928 |
-
yield current_type, current_value
|
929 |
-
|
930 |
-
|
931 |
-
FILTERS = {
|
932 |
-
'codetagify': CodeTagFilter,
|
933 |
-
'keywordcase': KeywordCaseFilter,
|
934 |
-
'highlight': NameHighlightFilter,
|
935 |
-
'raiseonerror': RaiseOnErrorTokenFilter,
|
936 |
-
'whitespace': VisibleWhitespaceFilter,
|
937 |
-
'gobble': GobbleFilter,
|
938 |
-
'tokenmerge': TokenMergeFilter,
|
939 |
-
'symbols': SymbolFilter,
|
940 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/urllib3/util/wait.py
DELETED
@@ -1,152 +0,0 @@
|
|
1 |
-
import errno
|
2 |
-
import select
|
3 |
-
import sys
|
4 |
-
from functools import partial
|
5 |
-
|
6 |
-
try:
|
7 |
-
from time import monotonic
|
8 |
-
except ImportError:
|
9 |
-
from time import time as monotonic
|
10 |
-
|
11 |
-
__all__ = ["NoWayToWaitForSocketError", "wait_for_read", "wait_for_write"]
|
12 |
-
|
13 |
-
|
14 |
-
class NoWayToWaitForSocketError(Exception):
|
15 |
-
pass
|
16 |
-
|
17 |
-
|
18 |
-
# How should we wait on sockets?
|
19 |
-
#
|
20 |
-
# There are two types of APIs you can use for waiting on sockets: the fancy
|
21 |
-
# modern stateful APIs like epoll/kqueue, and the older stateless APIs like
|
22 |
-
# select/poll. The stateful APIs are more efficient when you have a lots of
|
23 |
-
# sockets to keep track of, because you can set them up once and then use them
|
24 |
-
# lots of times. But we only ever want to wait on a single socket at a time
|
25 |
-
# and don't want to keep track of state, so the stateless APIs are actually
|
26 |
-
# more efficient. So we want to use select() or poll().
|
27 |
-
#
|
28 |
-
# Now, how do we choose between select() and poll()? On traditional Unixes,
|
29 |
-
# select() has a strange calling convention that makes it slow, or fail
|
30 |
-
# altogether, for high-numbered file descriptors. The point of poll() is to fix
|
31 |
-
# that, so on Unixes, we prefer poll().
|
32 |
-
#
|
33 |
-
# On Windows, there is no poll() (or at least Python doesn't provide a wrapper
|
34 |
-
# for it), but that's OK, because on Windows, select() doesn't have this
|
35 |
-
# strange calling convention; plain select() works fine.
|
36 |
-
#
|
37 |
-
# So: on Windows we use select(), and everywhere else we use poll(). We also
|
38 |
-
# fall back to select() in case poll() is somehow broken or missing.
|
39 |
-
|
40 |
-
if sys.version_info >= (3, 5):
|
41 |
-
# Modern Python, that retries syscalls by default
|
42 |
-
def _retry_on_intr(fn, timeout):
|
43 |
-
return fn(timeout)
|
44 |
-
|
45 |
-
else:
|
46 |
-
# Old and broken Pythons.
|
47 |
-
def _retry_on_intr(fn, timeout):
|
48 |
-
if timeout is None:
|
49 |
-
deadline = float("inf")
|
50 |
-
else:
|
51 |
-
deadline = monotonic() + timeout
|
52 |
-
|
53 |
-
while True:
|
54 |
-
try:
|
55 |
-
return fn(timeout)
|
56 |
-
# OSError for 3 <= pyver < 3.5, select.error for pyver <= 2.7
|
57 |
-
except (OSError, select.error) as e:
|
58 |
-
# 'e.args[0]' incantation works for both OSError and select.error
|
59 |
-
if e.args[0] != errno.EINTR:
|
60 |
-
raise
|
61 |
-
else:
|
62 |
-
timeout = deadline - monotonic()
|
63 |
-
if timeout < 0:
|
64 |
-
timeout = 0
|
65 |
-
if timeout == float("inf"):
|
66 |
-
timeout = None
|
67 |
-
continue
|
68 |
-
|
69 |
-
|
70 |
-
def select_wait_for_socket(sock, read=False, write=False, timeout=None):
|
71 |
-
if not read and not write:
|
72 |
-
raise RuntimeError("must specify at least one of read=True, write=True")
|
73 |
-
rcheck = []
|
74 |
-
wcheck = []
|
75 |
-
if read:
|
76 |
-
rcheck.append(sock)
|
77 |
-
if write:
|
78 |
-
wcheck.append(sock)
|
79 |
-
# When doing a non-blocking connect, most systems signal success by
|
80 |
-
# marking the socket writable. Windows, though, signals success by marked
|
81 |
-
# it as "exceptional". We paper over the difference by checking the write
|
82 |
-
# sockets for both conditions. (The stdlib selectors module does the same
|
83 |
-
# thing.)
|
84 |
-
fn = partial(select.select, rcheck, wcheck, wcheck)
|
85 |
-
rready, wready, xready = _retry_on_intr(fn, timeout)
|
86 |
-
return bool(rready or wready or xready)
|
87 |
-
|
88 |
-
|
89 |
-
def poll_wait_for_socket(sock, read=False, write=False, timeout=None):
|
90 |
-
if not read and not write:
|
91 |
-
raise RuntimeError("must specify at least one of read=True, write=True")
|
92 |
-
mask = 0
|
93 |
-
if read:
|
94 |
-
mask |= select.POLLIN
|
95 |
-
if write:
|
96 |
-
mask |= select.POLLOUT
|
97 |
-
poll_obj = select.poll()
|
98 |
-
poll_obj.register(sock, mask)
|
99 |
-
|
100 |
-
# For some reason, poll() takes timeout in milliseconds
|
101 |
-
def do_poll(t):
|
102 |
-
if t is not None:
|
103 |
-
t *= 1000
|
104 |
-
return poll_obj.poll(t)
|
105 |
-
|
106 |
-
return bool(_retry_on_intr(do_poll, timeout))
|
107 |
-
|
108 |
-
|
109 |
-
def null_wait_for_socket(*args, **kwargs):
|
110 |
-
raise NoWayToWaitForSocketError("no select-equivalent available")
|
111 |
-
|
112 |
-
|
113 |
-
def _have_working_poll():
|
114 |
-
# Apparently some systems have a select.poll that fails as soon as you try
|
115 |
-
# to use it, either due to strange configuration or broken monkeypatching
|
116 |
-
# from libraries like eventlet/greenlet.
|
117 |
-
try:
|
118 |
-
poll_obj = select.poll()
|
119 |
-
_retry_on_intr(poll_obj.poll, 0)
|
120 |
-
except (AttributeError, OSError):
|
121 |
-
return False
|
122 |
-
else:
|
123 |
-
return True
|
124 |
-
|
125 |
-
|
126 |
-
def wait_for_socket(*args, **kwargs):
|
127 |
-
# We delay choosing which implementation to use until the first time we're
|
128 |
-
# called. We could do it at import time, but then we might make the wrong
|
129 |
-
# decision if someone goes wild with monkeypatching select.poll after
|
130 |
-
# we're imported.
|
131 |
-
global wait_for_socket
|
132 |
-
if _have_working_poll():
|
133 |
-
wait_for_socket = poll_wait_for_socket
|
134 |
-
elif hasattr(select, "select"):
|
135 |
-
wait_for_socket = select_wait_for_socket
|
136 |
-
else: # Platform-specific: Appengine.
|
137 |
-
wait_for_socket = null_wait_for_socket
|
138 |
-
return wait_for_socket(*args, **kwargs)
|
139 |
-
|
140 |
-
|
141 |
-
def wait_for_read(sock, timeout=None):
|
142 |
-
"""Waits for reading to be available on a given socket.
|
143 |
-
Returns True if the socket is readable, or False if the timeout expired.
|
144 |
-
"""
|
145 |
-
return wait_for_socket(sock, read=True, timeout=timeout)
|
146 |
-
|
147 |
-
|
148 |
-
def wait_for_write(sock, timeout=None):
|
149 |
-
"""Waits for writing to be available on a given socket.
|
150 |
-
Returns True if the socket is readable, or False if the timeout expired.
|
151 |
-
"""
|
152 |
-
return wait_for_socket(sock, write=True, timeout=timeout)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Bobertsonthethird/Test01/README.md
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Test01
|
3 |
-
emoji: 🦀
|
4 |
-
colorFrom: pink
|
5 |
-
colorTo: red
|
6 |
-
sdk: docker
|
7 |
-
pinned: false
|
8 |
-
---
|
9 |
-
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVH-vn1210/make_hair/minigpt4/models/modeling_llama.py
DELETED
@@ -1,772 +0,0 @@
|
|
1 |
-
# coding=utf-8
|
2 |
-
# Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.
|
3 |
-
#
|
4 |
-
# This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX
|
5 |
-
# and OPT implementations in this library. It has been modified from its
|
6 |
-
# original forms to accommodate minor architectural differences compared
|
7 |
-
# to GPT-NeoX and OPT used by the Meta AI team that trained the model.
|
8 |
-
#
|
9 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
10 |
-
# you may not use this file except in compliance with the License.
|
11 |
-
# You may obtain a copy of the License at
|
12 |
-
#
|
13 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
14 |
-
#
|
15 |
-
# Unless required by applicable law or agreed to in writing, software
|
16 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
17 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
18 |
-
# See the License for the specific language governing permissions and
|
19 |
-
# limitations under the License.
|
20 |
-
""" PyTorch LLaMA model."""
|
21 |
-
import math
|
22 |
-
from typing import List, Optional, Tuple, Union
|
23 |
-
|
24 |
-
import torch
|
25 |
-
import torch.utils.checkpoint
|
26 |
-
from torch import nn
|
27 |
-
from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
|
28 |
-
|
29 |
-
from transformers.activations import ACT2FN
|
30 |
-
from transformers.modeling_outputs import BaseModelOutputWithPast, CausalLMOutputWithPast, SequenceClassifierOutputWithPast
|
31 |
-
from transformers.modeling_utils import PreTrainedModel
|
32 |
-
from transformers.utils import add_start_docstrings, add_start_docstrings_to_model_forward, logging, replace_return_docstrings
|
33 |
-
from transformers.models.llama.configuration_llama import LlamaConfig
|
34 |
-
|
35 |
-
|
36 |
-
logger = logging.get_logger(__name__)
|
37 |
-
|
38 |
-
_CONFIG_FOR_DOC = "LlamaConfig"
|
39 |
-
|
40 |
-
|
41 |
-
# Copied from transformers.models.bart.modeling_bart._make_causal_mask
|
42 |
-
def _make_causal_mask(
|
43 |
-
input_ids_shape: torch.Size, dtype: torch.dtype, device: torch.device, past_key_values_length: int = 0
|
44 |
-
):
|
45 |
-
"""
|
46 |
-
Make causal mask used for bi-directional self-attention.
|
47 |
-
"""
|
48 |
-
bsz, tgt_len = input_ids_shape
|
49 |
-
mask = torch.full((tgt_len, tgt_len), torch.tensor(torch.finfo(dtype).min, device=device), device=device)
|
50 |
-
mask_cond = torch.arange(mask.size(-1), device=device)
|
51 |
-
mask.masked_fill_(mask_cond < (mask_cond + 1).view(mask.size(-1), 1), 0)
|
52 |
-
mask = mask.to(dtype)
|
53 |
-
|
54 |
-
if past_key_values_length > 0:
|
55 |
-
mask = torch.cat([torch.zeros(tgt_len, past_key_values_length, dtype=dtype, device=device), mask], dim=-1)
|
56 |
-
return mask[None, None, :, :].expand(bsz, 1, tgt_len, tgt_len + past_key_values_length)
|
57 |
-
|
58 |
-
|
59 |
-
# Copied from transformers.models.bart.modeling_bart._expand_mask
|
60 |
-
def _expand_mask(mask: torch.Tensor, dtype: torch.dtype, tgt_len: Optional[int] = None):
|
61 |
-
"""
|
62 |
-
Expands attention_mask from `[bsz, seq_len]` to `[bsz, 1, tgt_seq_len, src_seq_len]`.
|
63 |
-
"""
|
64 |
-
bsz, src_len = mask.size()
|
65 |
-
tgt_len = tgt_len if tgt_len is not None else src_len
|
66 |
-
|
67 |
-
expanded_mask = mask[:, None, None, :].expand(bsz, 1, tgt_len, src_len).to(dtype)
|
68 |
-
|
69 |
-
inverted_mask = 1.0 - expanded_mask
|
70 |
-
|
71 |
-
return inverted_mask.masked_fill(inverted_mask.to(torch.bool), torch.finfo(dtype).min)
|
72 |
-
|
73 |
-
|
74 |
-
class LlamaRMSNorm(nn.Module):
|
75 |
-
def __init__(self, hidden_size, eps=1e-6):
|
76 |
-
"""
|
77 |
-
LlamaRMSNorm is equivalent to T5LayerNorm
|
78 |
-
"""
|
79 |
-
super().__init__()
|
80 |
-
self.weight = nn.Parameter(torch.ones(hidden_size))
|
81 |
-
self.variance_epsilon = eps
|
82 |
-
|
83 |
-
def forward(self, hidden_states):
|
84 |
-
variance = hidden_states.to(torch.float32).pow(2).mean(-1, keepdim=True)
|
85 |
-
hidden_states = hidden_states * torch.rsqrt(variance + self.variance_epsilon)
|
86 |
-
|
87 |
-
# convert into half-precision if necessary
|
88 |
-
if self.weight.dtype in [torch.float16, torch.bfloat16]:
|
89 |
-
hidden_states = hidden_states.to(self.weight.dtype)
|
90 |
-
|
91 |
-
return self.weight * hidden_states
|
92 |
-
|
93 |
-
|
94 |
-
class LlamaRotaryEmbedding(torch.nn.Module):
|
95 |
-
def __init__(self, dim, max_position_embeddings=2048, base=10000, device=None):
|
96 |
-
super().__init__()
|
97 |
-
inv_freq = 1.0 / (base ** (torch.arange(0, dim, 2).float().to(device) / dim))
|
98 |
-
self.register_buffer("inv_freq", inv_freq)
|
99 |
-
|
100 |
-
# Build here to make `torch.jit.trace` work.
|
101 |
-
self.max_seq_len_cached = max_position_embeddings
|
102 |
-
t = torch.arange(self.max_seq_len_cached, device=self.inv_freq.device, dtype=self.inv_freq.dtype)
|
103 |
-
freqs = torch.einsum("i,j->ij", t, self.inv_freq)
|
104 |
-
# Different from paper, but it uses a different permutation in order to obtain the same calculation
|
105 |
-
emb = torch.cat((freqs, freqs), dim=-1)
|
106 |
-
self.register_buffer("cos_cached", emb.cos()[None, None, :, :], persistent=False)
|
107 |
-
self.register_buffer("sin_cached", emb.sin()[None, None, :, :], persistent=False)
|
108 |
-
|
109 |
-
def forward(self, x, seq_len=None):
|
110 |
-
# x: [bs, num_attention_heads, seq_len, head_size]
|
111 |
-
# This `if` block is unlikely to be run after we build sin/cos in `__init__`. Keep the logic here just in case.
|
112 |
-
if seq_len > self.max_seq_len_cached:
|
113 |
-
self.max_seq_len_cached = seq_len
|
114 |
-
t = torch.arange(self.max_seq_len_cached, device=x.device, dtype=self.inv_freq.dtype)
|
115 |
-
freqs = torch.einsum("i,j->ij", t, self.inv_freq)
|
116 |
-
# Different from paper, but it uses a different permutation in order to obtain the same calculation
|
117 |
-
emb = torch.cat((freqs, freqs), dim=-1).to(x.device)
|
118 |
-
self.register_buffer("cos_cached", emb.cos()[None, None, :, :], persistent=False)
|
119 |
-
self.register_buffer("sin_cached", emb.sin()[None, None, :, :], persistent=False)
|
120 |
-
return (
|
121 |
-
self.cos_cached[:, :, :seq_len, ...].to(dtype=x.dtype),
|
122 |
-
self.sin_cached[:, :, :seq_len, ...].to(dtype=x.dtype),
|
123 |
-
)
|
124 |
-
|
125 |
-
|
126 |
-
def rotate_half(x):
|
127 |
-
"""Rotates half the hidden dims of the input."""
|
128 |
-
x1 = x[..., : x.shape[-1] // 2]
|
129 |
-
x2 = x[..., x.shape[-1] // 2 :]
|
130 |
-
return torch.cat((-x2, x1), dim=-1)
|
131 |
-
|
132 |
-
|
133 |
-
def apply_rotary_pos_emb(q, k, cos, sin, position_ids):
|
134 |
-
gather_indices = position_ids[:, None, :, None] # [bs, 1, seq_len, 1]
|
135 |
-
gather_indices = gather_indices.repeat(1, cos.shape[1], 1, cos.shape[3])
|
136 |
-
cos = torch.gather(cos.repeat(gather_indices.shape[0], 1, 1, 1), 2, gather_indices)
|
137 |
-
sin = torch.gather(sin.repeat(gather_indices.shape[0], 1, 1, 1), 2, gather_indices)
|
138 |
-
q_embed = (q * cos) + (rotate_half(q) * sin)
|
139 |
-
k_embed = (k * cos) + (rotate_half(k) * sin)
|
140 |
-
return q_embed, k_embed
|
141 |
-
|
142 |
-
|
143 |
-
class LlamaMLP(nn.Module):
|
144 |
-
def __init__(
|
145 |
-
self,
|
146 |
-
hidden_size: int,
|
147 |
-
intermediate_size: int,
|
148 |
-
hidden_act: str,
|
149 |
-
):
|
150 |
-
super().__init__()
|
151 |
-
self.gate_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
152 |
-
self.down_proj = nn.Linear(intermediate_size, hidden_size, bias=False)
|
153 |
-
self.up_proj = nn.Linear(hidden_size, intermediate_size, bias=False)
|
154 |
-
self.act_fn = ACT2FN[hidden_act]
|
155 |
-
|
156 |
-
def forward(self, x):
|
157 |
-
return self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
|
158 |
-
|
159 |
-
|
160 |
-
class LlamaAttention(nn.Module):
|
161 |
-
"""Multi-headed attention from 'Attention Is All You Need' paper"""
|
162 |
-
|
163 |
-
def __init__(self, config: LlamaConfig):
|
164 |
-
super().__init__()
|
165 |
-
self.config = config
|
166 |
-
self.hidden_size = config.hidden_size
|
167 |
-
self.num_heads = config.num_attention_heads
|
168 |
-
self.head_dim = self.hidden_size // self.num_heads
|
169 |
-
self.max_position_embeddings = config.max_position_embeddings
|
170 |
-
|
171 |
-
if (self.head_dim * self.num_heads) != self.hidden_size:
|
172 |
-
raise ValueError(
|
173 |
-
f"hidden_size must be divisible by num_heads (got `hidden_size`: {self.hidden_size}"
|
174 |
-
f" and `num_heads`: {self.num_heads})."
|
175 |
-
)
|
176 |
-
self.q_proj = nn.Linear(self.hidden_size, self.num_heads * self.head_dim, bias=False)
|
177 |
-
self.k_proj = nn.Linear(self.hidden_size, self.num_heads * self.head_dim, bias=False)
|
178 |
-
self.v_proj = nn.Linear(self.hidden_size, self.num_heads * self.head_dim, bias=False)
|
179 |
-
self.o_proj = nn.Linear(self.num_heads * self.head_dim, self.hidden_size, bias=False)
|
180 |
-
self.rotary_emb = LlamaRotaryEmbedding(self.head_dim, max_position_embeddings=self.max_position_embeddings)
|
181 |
-
|
182 |
-
def _shape(self, tensor: torch.Tensor, seq_len: int, bsz: int):
|
183 |
-
return tensor.view(bsz, seq_len, self.num_heads, self.head_dim).transpose(1, 2).contiguous()
|
184 |
-
|
185 |
-
def forward(
|
186 |
-
self,
|
187 |
-
hidden_states: torch.Tensor,
|
188 |
-
attention_mask: Optional[torch.Tensor] = None,
|
189 |
-
position_ids: Optional[torch.LongTensor] = None,
|
190 |
-
past_key_value: Optional[Tuple[torch.Tensor]] = None,
|
191 |
-
output_attentions: bool = False,
|
192 |
-
use_cache: bool = False,
|
193 |
-
) -> Tuple[torch.Tensor, Optional[torch.Tensor], Optional[Tuple[torch.Tensor]]]:
|
194 |
-
bsz, q_len, _ = hidden_states.size()
|
195 |
-
|
196 |
-
query_states = self.q_proj(hidden_states).view(bsz, q_len, self.num_heads, self.head_dim).transpose(1, 2)
|
197 |
-
key_states = self.k_proj(hidden_states).view(bsz, q_len, self.num_heads, self.head_dim).transpose(1, 2)
|
198 |
-
value_states = self.v_proj(hidden_states).view(bsz, q_len, self.num_heads, self.head_dim).transpose(1, 2)
|
199 |
-
|
200 |
-
kv_seq_len = key_states.shape[-2]
|
201 |
-
if past_key_value is not None:
|
202 |
-
kv_seq_len += past_key_value[0].shape[-2]
|
203 |
-
cos, sin = self.rotary_emb(value_states, seq_len=kv_seq_len)
|
204 |
-
query_states, key_states = apply_rotary_pos_emb(query_states, key_states, cos, sin, position_ids)
|
205 |
-
# [bsz, nh, t, hd]
|
206 |
-
|
207 |
-
if past_key_value is not None:
|
208 |
-
# reuse k, v, self_attention
|
209 |
-
key_states = torch.cat([past_key_value[0], key_states], dim=2)
|
210 |
-
value_states = torch.cat([past_key_value[1], value_states], dim=2)
|
211 |
-
|
212 |
-
past_key_value = (key_states, value_states) if use_cache else None
|
213 |
-
|
214 |
-
attn_weights = torch.matmul(query_states, key_states.transpose(2, 3)) / math.sqrt(self.head_dim)
|
215 |
-
|
216 |
-
if attn_weights.size() != (bsz, self.num_heads, q_len, kv_seq_len):
|
217 |
-
raise ValueError(
|
218 |
-
f"Attention weights should be of size {(bsz * self.num_heads, q_len, kv_seq_len)}, but is"
|
219 |
-
f" {attn_weights.size()}"
|
220 |
-
)
|
221 |
-
|
222 |
-
if attention_mask is not None:
|
223 |
-
if attention_mask.size() != (bsz, 1, q_len, kv_seq_len):
|
224 |
-
raise ValueError(
|
225 |
-
f"Attention mask should be of size {(bsz, 1, q_len, kv_seq_len)}, but is {attention_mask.size()}"
|
226 |
-
)
|
227 |
-
attn_weights = attn_weights + attention_mask
|
228 |
-
attn_weights = torch.max(attn_weights, torch.tensor(torch.finfo(attn_weights.dtype).min))
|
229 |
-
|
230 |
-
# upcast attention to fp32
|
231 |
-
attn_weights = nn.functional.softmax(attn_weights, dim=-1, dtype=torch.float32).to(query_states.dtype)
|
232 |
-
attn_output = torch.matmul(attn_weights, value_states)
|
233 |
-
|
234 |
-
if attn_output.size() != (bsz, self.num_heads, q_len, self.head_dim):
|
235 |
-
raise ValueError(
|
236 |
-
f"`attn_output` should be of size {(bsz, self.num_heads, q_len, self.head_dim)}, but is"
|
237 |
-
f" {attn_output.size()}"
|
238 |
-
)
|
239 |
-
|
240 |
-
attn_output = attn_output.transpose(1, 2)
|
241 |
-
attn_output = attn_output.reshape(bsz, q_len, self.hidden_size)
|
242 |
-
|
243 |
-
attn_output = self.o_proj(attn_output)
|
244 |
-
|
245 |
-
if not output_attentions:
|
246 |
-
attn_weights = None
|
247 |
-
|
248 |
-
return attn_output, attn_weights, past_key_value
|
249 |
-
|
250 |
-
|
251 |
-
class LlamaDecoderLayer(nn.Module):
|
252 |
-
def __init__(self, config: LlamaConfig):
|
253 |
-
super().__init__()
|
254 |
-
self.hidden_size = config.hidden_size
|
255 |
-
self.self_attn = LlamaAttention(config=config)
|
256 |
-
self.mlp = LlamaMLP(
|
257 |
-
hidden_size=self.hidden_size,
|
258 |
-
intermediate_size=config.intermediate_size,
|
259 |
-
hidden_act=config.hidden_act,
|
260 |
-
)
|
261 |
-
self.input_layernorm = LlamaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
|
262 |
-
self.post_attention_layernorm = LlamaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
|
263 |
-
|
264 |
-
def forward(
|
265 |
-
self,
|
266 |
-
hidden_states: torch.Tensor,
|
267 |
-
attention_mask: Optional[torch.Tensor] = None,
|
268 |
-
position_ids: Optional[torch.LongTensor] = None,
|
269 |
-
past_key_value: Optional[Tuple[torch.Tensor]] = None,
|
270 |
-
output_attentions: Optional[bool] = False,
|
271 |
-
use_cache: Optional[bool] = False,
|
272 |
-
) -> Tuple[torch.FloatTensor, Optional[Tuple[torch.FloatTensor, torch.FloatTensor]]]:
|
273 |
-
"""
|
274 |
-
Args:
|
275 |
-
hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)`
|
276 |
-
attention_mask (`torch.FloatTensor`, *optional*): attention mask of size
|
277 |
-
`(batch, 1, tgt_len, src_len)` where padding elements are indicated by very large negative values.
|
278 |
-
output_attentions (`bool`, *optional*):
|
279 |
-
Whether or not to return the attentions tensors of all attention layers. See `attentions` under
|
280 |
-
returned tensors for more detail.
|
281 |
-
use_cache (`bool`, *optional*):
|
282 |
-
If set to `True`, `past_key_values` key value states are returned and can be used to speed up decoding
|
283 |
-
(see `past_key_values`).
|
284 |
-
past_key_value (`Tuple(torch.FloatTensor)`, *optional*): cached past key and value projection states
|
285 |
-
"""
|
286 |
-
|
287 |
-
residual = hidden_states
|
288 |
-
|
289 |
-
hidden_states = self.input_layernorm(hidden_states)
|
290 |
-
|
291 |
-
# Self Attention
|
292 |
-
hidden_states, self_attn_weights, present_key_value = self.self_attn(
|
293 |
-
hidden_states=hidden_states,
|
294 |
-
attention_mask=attention_mask,
|
295 |
-
position_ids=position_ids,
|
296 |
-
past_key_value=past_key_value,
|
297 |
-
output_attentions=output_attentions,
|
298 |
-
use_cache=use_cache,
|
299 |
-
)
|
300 |
-
hidden_states = residual + hidden_states
|
301 |
-
|
302 |
-
# Fully Connected
|
303 |
-
residual = hidden_states
|
304 |
-
hidden_states = self.post_attention_layernorm(hidden_states)
|
305 |
-
hidden_states = self.mlp(hidden_states)
|
306 |
-
hidden_states = residual + hidden_states
|
307 |
-
|
308 |
-
outputs = (hidden_states,)
|
309 |
-
|
310 |
-
if output_attentions:
|
311 |
-
outputs += (self_attn_weights,)
|
312 |
-
|
313 |
-
if use_cache:
|
314 |
-
outputs += (present_key_value,)
|
315 |
-
|
316 |
-
return outputs
|
317 |
-
|
318 |
-
|
319 |
-
LLAMA_START_DOCSTRING = r"""
|
320 |
-
This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
|
321 |
-
library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads
|
322 |
-
etc.)
|
323 |
-
|
324 |
-
This model is also a PyTorch [torch.nn.Module](https://pytorch.org/docs/stable/nn.html#torch.nn.Module) subclass.
|
325 |
-
Use it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage
|
326 |
-
and behavior.
|
327 |
-
|
328 |
-
Parameters:
|
329 |
-
config ([`LlamaConfig`]):
|
330 |
-
Model configuration class with all the parameters of the model. Initializing with a config file does not
|
331 |
-
load the weights associated with the model, only the configuration. Check out the
|
332 |
-
[`~PreTrainedModel.from_pretrained`] method to load the model weights.
|
333 |
-
"""
|
334 |
-
|
335 |
-
|
336 |
-
@add_start_docstrings(
|
337 |
-
"The bare LLaMA Model outputting raw hidden-states without any specific head on top.",
|
338 |
-
LLAMA_START_DOCSTRING,
|
339 |
-
)
|
340 |
-
class LlamaPreTrainedModel(PreTrainedModel):
|
341 |
-
config_class = LlamaConfig
|
342 |
-
base_model_prefix = "model"
|
343 |
-
supports_gradient_checkpointing = True
|
344 |
-
_no_split_modules = ["LlamaDecoderLayer"]
|
345 |
-
_keys_to_ignore_on_load_unexpected = [r"decoder\.version"]
|
346 |
-
|
347 |
-
def _init_weights(self, module):
|
348 |
-
std = self.config.initializer_range
|
349 |
-
if isinstance(module, nn.Linear):
|
350 |
-
module.weight.data.normal_(mean=0.0, std=std)
|
351 |
-
if module.bias is not None:
|
352 |
-
module.bias.data.zero_()
|
353 |
-
elif isinstance(module, nn.Embedding):
|
354 |
-
module.weight.data.normal_(mean=0.0, std=std)
|
355 |
-
if module.padding_idx is not None:
|
356 |
-
module.weight.data[module.padding_idx].zero_()
|
357 |
-
|
358 |
-
def _set_gradient_checkpointing(self, module, value=False):
|
359 |
-
if isinstance(module, LlamaModel):
|
360 |
-
module.gradient_checkpointing = value
|
361 |
-
|
362 |
-
|
363 |
-
LLAMA_INPUTS_DOCSTRING = r"""
|
364 |
-
Args:
|
365 |
-
input_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
|
366 |
-
Indices of input sequence tokens in the vocabulary. Padding will be ignored by default should you provide
|
367 |
-
it.
|
368 |
-
|
369 |
-
Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
|
370 |
-
[`PreTrainedTokenizer.__call__`] for details.
|
371 |
-
|
372 |
-
[What are input IDs?](../glossary#input-ids)
|
373 |
-
attention_mask (`torch.Tensor` of shape `(batch_size, sequence_length)`, *optional*):
|
374 |
-
Mask to avoid performing attention on padding token indices. Mask values selected in `[0, 1]`:
|
375 |
-
|
376 |
-
- 1 for tokens that are **not masked**,
|
377 |
-
- 0 for tokens that are **masked**.
|
378 |
-
|
379 |
-
[What are attention masks?](../glossary#attention-mask)
|
380 |
-
|
381 |
-
Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
|
382 |
-
[`PreTrainedTokenizer.__call__`] for details.
|
383 |
-
|
384 |
-
If `past_key_values` is used, optionally only the last `decoder_input_ids` have to be input (see
|
385 |
-
`past_key_values`).
|
386 |
-
|
387 |
-
If you want to change padding behavior, you should read [`modeling_opt._prepare_decoder_attention_mask`]
|
388 |
-
and modify to your needs. See diagram 1 in [the paper](https://arxiv.org/abs/1910.13461) for more
|
389 |
-
information on the default strategy.
|
390 |
-
|
391 |
-
- 1 indicates the head is **not masked**,
|
392 |
-
- 0 indicates the head is **masked**.
|
393 |
-
position_ids (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
394 |
-
Indices of positions of each input sequence tokens in the position embeddings. Selected in the range `[0,
|
395 |
-
config.n_positions - 1]`.
|
396 |
-
|
397 |
-
[What are position IDs?](../glossary#position-ids)
|
398 |
-
past_key_values (`tuple(tuple(torch.FloatTensor))`, *optional*, returned when `use_cache=True` is passed or when `config.use_cache=True`):
|
399 |
-
Tuple of `tuple(torch.FloatTensor)` of length `config.n_layers`, with each tuple having 2 tensors of shape
|
400 |
-
`(batch_size, num_heads, sequence_length, embed_size_per_head)`) and 2 additional tensors of shape
|
401 |
-
`(batch_size, num_heads, encoder_sequence_length, embed_size_per_head)`.
|
402 |
-
|
403 |
-
Contains pre-computed hidden-states (key and values in the self-attention blocks and in the cross-attention
|
404 |
-
blocks) that can be used (see `past_key_values` input) to speed up sequential decoding.
|
405 |
-
|
406 |
-
If `past_key_values` are used, the user can optionally input only the last `decoder_input_ids` (those that
|
407 |
-
don't have their past key value states given to this model) of shape `(batch_size, 1)` instead of all
|
408 |
-
`decoder_input_ids` of shape `(batch_size, sequence_length)`.
|
409 |
-
inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`, *optional*):
|
410 |
-
Optionally, instead of passing `input_ids` you can choose to directly pass an embedded representation. This
|
411 |
-
is useful if you want more control over how to convert `input_ids` indices into associated vectors than the
|
412 |
-
model's internal embedding lookup matrix.
|
413 |
-
use_cache (`bool`, *optional*):
|
414 |
-
If set to `True`, `past_key_values` key value states are returned and can be used to speed up decoding (see
|
415 |
-
`past_key_values`).
|
416 |
-
output_attentions (`bool`, *optional*):
|
417 |
-
Whether or not to return the attentions tensors of all attention layers. See `attentions` under returned
|
418 |
-
tensors for more detail.
|
419 |
-
output_hidden_states (`bool`, *optional*):
|
420 |
-
Whether or not to return the hidden states of all layers. See `hidden_states` under returned tensors for
|
421 |
-
more detail.
|
422 |
-
return_dict (`bool`, *optional*):
|
423 |
-
Whether or not to return a [`~utils.ModelOutput`] instead of a plain tuple.
|
424 |
-
"""
|
425 |
-
|
426 |
-
|
427 |
-
@add_start_docstrings(
|
428 |
-
"The bare LLaMA Model outputting raw hidden-states without any specific head on top.",
|
429 |
-
LLAMA_START_DOCSTRING,
|
430 |
-
)
|
431 |
-
class LlamaModel(LlamaPreTrainedModel):
|
432 |
-
"""
|
433 |
-
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`LlamaDecoderLayer`]
|
434 |
-
|
435 |
-
Args:
|
436 |
-
config: LlamaConfig
|
437 |
-
"""
|
438 |
-
|
439 |
-
def __init__(self, config: LlamaConfig):
|
440 |
-
super().__init__(config)
|
441 |
-
self.padding_idx = config.pad_token_id
|
442 |
-
self.vocab_size = config.vocab_size
|
443 |
-
|
444 |
-
self.embed_tokens = nn.Embedding(config.vocab_size, config.hidden_size, self.padding_idx)
|
445 |
-
self.layers = nn.ModuleList([LlamaDecoderLayer(config) for _ in range(config.num_hidden_layers)])
|
446 |
-
self.norm = LlamaRMSNorm(config.hidden_size, eps=config.rms_norm_eps)
|
447 |
-
|
448 |
-
self.gradient_checkpointing = False
|
449 |
-
# Initialize weights and apply final processing
|
450 |
-
self.post_init()
|
451 |
-
|
452 |
-
def get_input_embeddings(self):
|
453 |
-
return self.embed_tokens
|
454 |
-
|
455 |
-
def set_input_embeddings(self, value):
|
456 |
-
self.embed_tokens = value
|
457 |
-
|
458 |
-
# Copied from transformers.models.bart.modeling_bart.BartDecoder._prepare_decoder_attention_mask
|
459 |
-
def _prepare_decoder_attention_mask(self, attention_mask, input_shape, inputs_embeds, past_key_values_length):
|
460 |
-
# create causal mask
|
461 |
-
# [bsz, seq_len] -> [bsz, 1, tgt_seq_len, src_seq_len]
|
462 |
-
combined_attention_mask = None
|
463 |
-
if input_shape[-1] > 1:
|
464 |
-
combined_attention_mask = _make_causal_mask(
|
465 |
-
input_shape,
|
466 |
-
inputs_embeds.dtype,
|
467 |
-
device=inputs_embeds.device,
|
468 |
-
past_key_values_length=past_key_values_length,
|
469 |
-
)
|
470 |
-
|
471 |
-
if attention_mask is not None:
|
472 |
-
# [bsz, seq_len] -> [bsz, 1, tgt_seq_len, src_seq_len]
|
473 |
-
expanded_attn_mask = _expand_mask(attention_mask, inputs_embeds.dtype, tgt_len=input_shape[-1]).to(
|
474 |
-
inputs_embeds.device
|
475 |
-
)
|
476 |
-
combined_attention_mask = (
|
477 |
-
expanded_attn_mask if combined_attention_mask is None else expanded_attn_mask + combined_attention_mask
|
478 |
-
)
|
479 |
-
|
480 |
-
return combined_attention_mask
|
481 |
-
|
482 |
-
@add_start_docstrings_to_model_forward(LLAMA_INPUTS_DOCSTRING)
|
483 |
-
def forward(
|
484 |
-
self,
|
485 |
-
input_ids: torch.LongTensor = None,
|
486 |
-
attention_mask: Optional[torch.Tensor] = None,
|
487 |
-
position_ids: Optional[torch.LongTensor] = None,
|
488 |
-
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
489 |
-
inputs_embeds: Optional[torch.FloatTensor] = None,
|
490 |
-
query_embeds: Optional[torch.FloatTensor] = None,
|
491 |
-
use_cache: Optional[bool] = None,
|
492 |
-
output_attentions: Optional[bool] = None,
|
493 |
-
output_hidden_states: Optional[bool] = None,
|
494 |
-
return_dict: Optional[bool] = None,
|
495 |
-
) -> Union[Tuple, BaseModelOutputWithPast]:
|
496 |
-
output_attentions = output_attentions if output_attentions is not None else self.config.output_attentions
|
497 |
-
output_hidden_states = (
|
498 |
-
output_hidden_states if output_hidden_states is not None else self.config.output_hidden_states
|
499 |
-
)
|
500 |
-
use_cache = use_cache if use_cache is not None else self.config.use_cache
|
501 |
-
|
502 |
-
return_dict = return_dict if return_dict is not None else self.config.use_return_dict
|
503 |
-
|
504 |
-
# retrieve input_ids and inputs_embeds
|
505 |
-
if input_ids is not None and inputs_embeds is not None:
|
506 |
-
raise ValueError("You cannot specify both decoder_input_ids and decoder_inputs_embeds at the same time")
|
507 |
-
elif input_ids is not None:
|
508 |
-
batch_size, seq_length = input_ids.shape
|
509 |
-
elif inputs_embeds is not None:
|
510 |
-
batch_size, seq_length, _ = inputs_embeds.shape
|
511 |
-
else:
|
512 |
-
raise ValueError("You have to specify either decoder_input_ids or decoder_inputs_embeds")
|
513 |
-
|
514 |
-
if inputs_embeds is None:
|
515 |
-
inputs_embeds = self.embed_tokens(input_ids)
|
516 |
-
if query_embeds is not None:
|
517 |
-
inputs_embeds = torch.cat([query_embeds, inputs_embeds], dim=1)
|
518 |
-
batch_size, seq_length, _ = inputs_embeds.shape
|
519 |
-
|
520 |
-
seq_length_with_past = seq_length
|
521 |
-
past_key_values_length = 0
|
522 |
-
|
523 |
-
if past_key_values is not None:
|
524 |
-
past_key_values_length = past_key_values[0][0].shape[2]
|
525 |
-
seq_length_with_past = seq_length_with_past + past_key_values_length
|
526 |
-
|
527 |
-
if position_ids is None:
|
528 |
-
device = input_ids.device if input_ids is not None else inputs_embeds.device
|
529 |
-
position_ids = torch.arange(
|
530 |
-
past_key_values_length, seq_length + past_key_values_length, dtype=torch.long, device=device
|
531 |
-
)
|
532 |
-
position_ids = position_ids.unsqueeze(0).view(-1, seq_length)
|
533 |
-
else:
|
534 |
-
position_ids = position_ids.view(-1, seq_length).long()
|
535 |
-
|
536 |
-
# embed positions
|
537 |
-
if attention_mask is None:
|
538 |
-
attention_mask = torch.ones(
|
539 |
-
(batch_size, seq_length_with_past), dtype=torch.bool, device=inputs_embeds.device
|
540 |
-
)
|
541 |
-
attention_mask = self._prepare_decoder_attention_mask(
|
542 |
-
attention_mask, (batch_size, seq_length), inputs_embeds, past_key_values_length
|
543 |
-
)
|
544 |
-
|
545 |
-
hidden_states = inputs_embeds
|
546 |
-
|
547 |
-
if self.gradient_checkpointing and self.training:
|
548 |
-
if use_cache:
|
549 |
-
logger.warning_once(
|
550 |
-
"`use_cache=True` is incompatible with gradient checkpointing. Setting `use_cache=False`..."
|
551 |
-
)
|
552 |
-
use_cache = False
|
553 |
-
|
554 |
-
# decoder layers
|
555 |
-
all_hidden_states = () if output_hidden_states else None
|
556 |
-
all_self_attns = () if output_attentions else None
|
557 |
-
next_decoder_cache = () if use_cache else None
|
558 |
-
|
559 |
-
for idx, decoder_layer in enumerate(self.layers):
|
560 |
-
if output_hidden_states:
|
561 |
-
all_hidden_states += (hidden_states,)
|
562 |
-
|
563 |
-
past_key_value = past_key_values[idx] if past_key_values is not None else None
|
564 |
-
|
565 |
-
if self.gradient_checkpointing and self.training:
|
566 |
-
|
567 |
-
def create_custom_forward(module):
|
568 |
-
def custom_forward(*inputs):
|
569 |
-
# None for past_key_value
|
570 |
-
return module(*inputs, output_attentions, None)
|
571 |
-
|
572 |
-
return custom_forward
|
573 |
-
|
574 |
-
layer_outputs = torch.utils.checkpoint.checkpoint(
|
575 |
-
create_custom_forward(decoder_layer),
|
576 |
-
hidden_states,
|
577 |
-
attention_mask,
|
578 |
-
position_ids,
|
579 |
-
None,
|
580 |
-
)
|
581 |
-
else:
|
582 |
-
layer_outputs = decoder_layer(
|
583 |
-
hidden_states,
|
584 |
-
attention_mask=attention_mask,
|
585 |
-
position_ids=position_ids,
|
586 |
-
past_key_value=past_key_value,
|
587 |
-
output_attentions=output_attentions,
|
588 |
-
use_cache=use_cache,
|
589 |
-
)
|
590 |
-
|
591 |
-
hidden_states = layer_outputs[0]
|
592 |
-
|
593 |
-
if use_cache:
|
594 |
-
next_decoder_cache += (layer_outputs[2 if output_attentions else 1],)
|
595 |
-
|
596 |
-
if output_attentions:
|
597 |
-
all_self_attns += (layer_outputs[1],)
|
598 |
-
|
599 |
-
hidden_states = self.norm(hidden_states)
|
600 |
-
|
601 |
-
# add hidden states from the last decoder layer
|
602 |
-
if output_hidden_states:
|
603 |
-
all_hidden_states += (hidden_states,)
|
604 |
-
|
605 |
-
next_cache = next_decoder_cache if use_cache else None
|
606 |
-
if not return_dict:
|
607 |
-
return tuple(v for v in [hidden_states, next_cache, all_hidden_states, all_self_attns] if v is not None)
|
608 |
-
return BaseModelOutputWithPast(
|
609 |
-
last_hidden_state=hidden_states,
|
610 |
-
past_key_values=next_cache,
|
611 |
-
hidden_states=all_hidden_states,
|
612 |
-
attentions=all_self_attns,
|
613 |
-
)
|
614 |
-
|
615 |
-
|
616 |
-
class LlamaForCausalLM(LlamaPreTrainedModel):
|
617 |
-
def __init__(self, config):
|
618 |
-
super().__init__(config)
|
619 |
-
self.model = LlamaModel(config)
|
620 |
-
|
621 |
-
self.lm_head = nn.Linear(config.hidden_size, config.vocab_size, bias=False)
|
622 |
-
|
623 |
-
# Initialize weights and apply final processing
|
624 |
-
self.post_init()
|
625 |
-
|
626 |
-
def get_input_embeddings(self):
|
627 |
-
return self.model.embed_tokens
|
628 |
-
|
629 |
-
def set_input_embeddings(self, value):
|
630 |
-
self.model.embed_tokens = value
|
631 |
-
|
632 |
-
def get_output_embeddings(self):
|
633 |
-
return self.lm_head
|
634 |
-
|
635 |
-
def set_output_embeddings(self, new_embeddings):
|
636 |
-
self.lm_head = new_embeddings
|
637 |
-
|
638 |
-
def set_decoder(self, decoder):
|
639 |
-
self.model = decoder
|
640 |
-
|
641 |
-
def get_decoder(self):
|
642 |
-
return self.model
|
643 |
-
|
644 |
-
@add_start_docstrings_to_model_forward(LLAMA_INPUTS_DOCSTRING)
|
645 |
-
@replace_return_docstrings(output_type=CausalLMOutputWithPast, config_class=_CONFIG_FOR_DOC)
|
646 |
-
def forward(
|
647 |
-
self,
|
648 |
-
input_ids: torch.LongTensor = None,
|
649 |
-
attention_mask: Optional[torch.Tensor] = None,
|
650 |
-
position_ids: Optional[torch.LongTensor] = None,
|
651 |
-
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
652 |
-
inputs_embeds: Optional[torch.FloatTensor] = None,
|
653 |
-
query_embeds: Optional[torch.FloatTensor] = None,
|
654 |
-
labels: Optional[torch.LongTensor] = None,
|
655 |
-
use_cache: Optional[bool] = None,
|
656 |
-
output_attentions: Optional[bool] = None,
|
657 |
-
output_hidden_states: Optional[bool] = None,
|
658 |
-
return_dict: Optional[bool] = None,
|
659 |
-
) -> Union[Tuple, CausalLMOutputWithPast]:
|
660 |
-
r"""
|
661 |
-
Args:
|
662 |
-
labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
|
663 |
-
Labels for computing the masked language modeling loss. Indices should either be in `[0, ...,
|
664 |
-
config.vocab_size]` or -100 (see `input_ids` docstring). Tokens with indices set to `-100` are ignored
|
665 |
-
(masked), the loss is only computed for the tokens with labels in `[0, ..., config.vocab_size]`.
|
666 |
-
|
667 |
-
Returns:
|
668 |
-
|
669 |
-
Example:
|
670 |
-
|
671 |
-
```python
|
672 |
-
>>> from transformers import AutoTokenizer, LlamaForCausalLM
|
673 |
-
|
674 |
-
>>> model = LlamaForCausalLM.from_pretrained(PATH_TO_CONVERTED_WEIGHTS)
|
675 |
-
>>> tokenizer = AutoTokenizer.from_pretrained(PATH_TO_CONVERTED_TOKENIZER)
|
676 |
-
|
677 |
-
>>> prompt = "Hey, are you consciours? Can you talk to me?"
|
678 |
-
>>> inputs = tokenizer(prompt, return_tensors="pt")
|
679 |
-
|
680 |
-
>>> # Generate
|
681 |
-
>>> generate_ids = model.generate(inputs.input_ids, max_length=30)
|
682 |
-
>>> tokenizer.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
|
683 |
-
"Hey, are you consciours? Can you talk to me?\nI'm not consciours, but I can talk to you."
|
684 |
-
```"""
|
685 |
-
|
686 |
-
output_attentions = output_attentions if output_attentions is not None else self.config.output_attentions
|
687 |
-
output_hidden_states = (
|
688 |
-
output_hidden_states if output_hidden_states is not None else self.config.output_hidden_states
|
689 |
-
)
|
690 |
-
return_dict = return_dict if return_dict is not None else self.config.use_return_dict
|
691 |
-
|
692 |
-
# decoder outputs consists of (dec_features, layer_state, dec_hidden, dec_attn)
|
693 |
-
outputs = self.model(
|
694 |
-
input_ids=input_ids,
|
695 |
-
attention_mask=attention_mask,
|
696 |
-
position_ids=position_ids,
|
697 |
-
past_key_values=past_key_values,
|
698 |
-
inputs_embeds=inputs_embeds,
|
699 |
-
query_embeds=query_embeds,
|
700 |
-
use_cache=use_cache,
|
701 |
-
output_attentions=output_attentions,
|
702 |
-
output_hidden_states=output_hidden_states,
|
703 |
-
return_dict=return_dict,
|
704 |
-
)
|
705 |
-
|
706 |
-
hidden_states = outputs[0]
|
707 |
-
logits = self.lm_head(hidden_states)
|
708 |
-
|
709 |
-
loss = None
|
710 |
-
if labels is not None:
|
711 |
-
# Shift so that tokens < n predict n
|
712 |
-
shift_logits = logits[..., :-1, :].contiguous()
|
713 |
-
shift_labels = labels[..., 1:].contiguous()
|
714 |
-
# Flatten the tokens
|
715 |
-
loss_fct = CrossEntropyLoss()
|
716 |
-
shift_logits = shift_logits.view(-1, self.config.vocab_size)
|
717 |
-
shift_labels = shift_labels.view(-1)
|
718 |
-
# Enable model parallelism
|
719 |
-
shift_labels = shift_labels.to(shift_logits.device)
|
720 |
-
loss = loss_fct(shift_logits, shift_labels)
|
721 |
-
|
722 |
-
if not return_dict:
|
723 |
-
output = (logits,) + outputs[1:]
|
724 |
-
return (loss,) + output if loss is not None else output
|
725 |
-
|
726 |
-
return CausalLMOutputWithPast(
|
727 |
-
loss=loss,
|
728 |
-
logits=logits,
|
729 |
-
past_key_values=outputs.past_key_values,
|
730 |
-
hidden_states=outputs.hidden_states,
|
731 |
-
attentions=outputs.attentions,
|
732 |
-
)
|
733 |
-
|
734 |
-
def prepare_inputs_for_generation(
|
735 |
-
self, input_ids, query_embeds=None, past_key_values=None, attention_mask=None, inputs_embeds=None, **kwargs
|
736 |
-
):
|
737 |
-
if past_key_values:
|
738 |
-
input_ids = input_ids[:, -1:]
|
739 |
-
|
740 |
-
position_ids = kwargs.get("position_ids", None)
|
741 |
-
if attention_mask is not None and position_ids is None:
|
742 |
-
# create position_ids on the fly for batch generation
|
743 |
-
position_ids = attention_mask.long().cumsum(-1) - 1
|
744 |
-
position_ids.masked_fill_(attention_mask == 0, 1)
|
745 |
-
if past_key_values:
|
746 |
-
position_ids = position_ids[:, -1].unsqueeze(-1)
|
747 |
-
query_embeds = None
|
748 |
-
|
749 |
-
# if `inputs_embeds` are passed, we only want to use them in the 1st generation step
|
750 |
-
if inputs_embeds is not None and past_key_values is None:
|
751 |
-
model_inputs = {"inputs_embeds": inputs_embeds}
|
752 |
-
else:
|
753 |
-
model_inputs = {"input_ids": input_ids}
|
754 |
-
|
755 |
-
model_inputs.update(
|
756 |
-
{
|
757 |
-
"position_ids": position_ids,
|
758 |
-
"query_embeds": query_embeds,
|
759 |
-
"past_key_values": past_key_values,
|
760 |
-
"use_cache": kwargs.get("use_cache"),
|
761 |
-
"attention_mask": attention_mask,
|
762 |
-
}
|
763 |
-
)
|
764 |
-
return model_inputs
|
765 |
-
|
766 |
-
@staticmethod
|
767 |
-
def _reorder_cache(past_key_values, beam_idx):
|
768 |
-
reordered_past = ()
|
769 |
-
for layer_past in past_key_values:
|
770 |
-
reordered_past += (tuple(past_state.index_select(0, beam_idx) for past_state in layer_past),)
|
771 |
-
return reordered_past
|
772 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/GroupViT/README.md
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: GroupViT
|
3 |
-
emoji: 👀
|
4 |
-
colorFrom: indigo
|
5 |
-
colorTo: red
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 3.0.17
|
8 |
-
app_file: app.py
|
9 |
-
pinned: true
|
10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/CVPR/LIVE/thrust/thrust/system/detail/generic/memory.h
DELETED
@@ -1,71 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* Copyright 2008-2013 NVIDIA Corporation
|
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
|
7 |
-
*
|
8 |
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9 |
-
*
|
10 |
-
* Unless required by applicable law or agreed to in writing, software
|
11 |
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
-
* See the License for the specific language governing permissions and
|
14 |
-
* limitations under the License.
|
15 |
-
*/
|
16 |
-
|
17 |
-
|
18 |
-
/*! \file generic/memory.h
|
19 |
-
* \brief Generic implementation of memory functions.
|
20 |
-
* Calling some of these is an error. They have no implementation.
|
21 |
-
*/
|
22 |
-
|
23 |
-
#pragma once
|
24 |
-
|
25 |
-
#include <thrust/detail/config.h>
|
26 |
-
#include <thrust/detail/execution_policy.h>
|
27 |
-
#include <thrust/system/detail/generic/tag.h>
|
28 |
-
#include <thrust/detail/type_traits.h>
|
29 |
-
#include <thrust/detail/pointer.h>
|
30 |
-
#include <thrust/pair.h>
|
31 |
-
|
32 |
-
namespace thrust
|
33 |
-
{
|
34 |
-
namespace system
|
35 |
-
{
|
36 |
-
namespace detail
|
37 |
-
{
|
38 |
-
namespace generic
|
39 |
-
{
|
40 |
-
|
41 |
-
template<typename DerivedPolicy, typename Size>
|
42 |
-
__host__ __device__
|
43 |
-
void malloc(thrust::execution_policy<DerivedPolicy> &, Size);
|
44 |
-
|
45 |
-
template<typename T, typename DerivedPolicy>
|
46 |
-
__host__ __device__
|
47 |
-
thrust::pointer<T,DerivedPolicy> malloc(thrust::execution_policy<DerivedPolicy> &s, std::size_t n);
|
48 |
-
|
49 |
-
template<typename DerivedPolicy, typename Pointer>
|
50 |
-
__host__ __device__
|
51 |
-
void free(thrust::execution_policy<DerivedPolicy> &, Pointer);
|
52 |
-
|
53 |
-
template<typename Pointer1, typename Pointer2>
|
54 |
-
__host__ __device__
|
55 |
-
void assign_value(tag, Pointer1, Pointer2);
|
56 |
-
|
57 |
-
template<typename DerivedPolicy, typename Pointer>
|
58 |
-
__host__ __device__
|
59 |
-
void get_value(thrust::execution_policy<DerivedPolicy> &, Pointer);
|
60 |
-
|
61 |
-
template<typename DerivedPolicy, typename Pointer1, typename Pointer2>
|
62 |
-
__host__ __device__
|
63 |
-
void iter_swap(thrust::execution_policy<DerivedPolicy>&, Pointer1, Pointer2);
|
64 |
-
|
65 |
-
} // end generic
|
66 |
-
} // end detail
|
67 |
-
} // end system
|
68 |
-
} // end thrust
|
69 |
-
|
70 |
-
#include <thrust/system/detail/generic/memory.inl>
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/Chakri-kollepara-5/Mygena/README.md
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: Mygena
|
3 |
-
emoji: 🐠
|
4 |
-
colorFrom: gray
|
5 |
-
colorTo: blue
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 3.39.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spaces/ChenWu98/Stable-CycleDiffusion/seq_aligner.py
DELETED
@@ -1,196 +0,0 @@
|
|
1 |
-
# Copyright 2022 Google LLC
|
2 |
-
#
|
3 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
-
# you may not use this file except in compliance with the License.
|
5 |
-
# You may obtain a copy of the License at
|
6 |
-
#
|
7 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
-
#
|
9 |
-
# Unless required by applicable law or agreed to in writing, software
|
10 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
-
# See the License for the specific language governing permissions and
|
13 |
-
# limitations under the License.
|
14 |
-
import torch
|
15 |
-
import numpy as np
|
16 |
-
|
17 |
-
|
18 |
-
class ScoreParams:
|
19 |
-
|
20 |
-
def __init__(self, gap, match, mismatch):
|
21 |
-
self.gap = gap
|
22 |
-
self.match = match
|
23 |
-
self.mismatch = mismatch
|
24 |
-
|
25 |
-
def mis_match_char(self, x, y):
|
26 |
-
if x != y:
|
27 |
-
return self.mismatch
|
28 |
-
else:
|
29 |
-
return self.match
|
30 |
-
|
31 |
-
|
32 |
-
def get_matrix(size_x, size_y, gap):
|
33 |
-
matrix = []
|
34 |
-
for i in range(len(size_x) + 1):
|
35 |
-
sub_matrix = []
|
36 |
-
for j in range(len(size_y) + 1):
|
37 |
-
sub_matrix.append(0)
|
38 |
-
matrix.append(sub_matrix)
|
39 |
-
for j in range(1, len(size_y) + 1):
|
40 |
-
matrix[0][j] = j*gap
|
41 |
-
for i in range(1, len(size_x) + 1):
|
42 |
-
matrix[i][0] = i*gap
|
43 |
-
return matrix
|
44 |
-
|
45 |
-
|
46 |
-
def get_matrix(size_x, size_y, gap):
|
47 |
-
matrix = np.zeros((size_x + 1, size_y + 1), dtype=np.int32)
|
48 |
-
matrix[0, 1:] = (np.arange(size_y) + 1) * gap
|
49 |
-
matrix[1:, 0] = (np.arange(size_x) + 1) * gap
|
50 |
-
return matrix
|
51 |
-
|
52 |
-
|
53 |
-
def get_traceback_matrix(size_x, size_y):
|
54 |
-
matrix = np.zeros((size_x + 1, size_y +1), dtype=np.int32)
|
55 |
-
matrix[0, 1:] = 1
|
56 |
-
matrix[1:, 0] = 2
|
57 |
-
matrix[0, 0] = 4
|
58 |
-
return matrix
|
59 |
-
|
60 |
-
|
61 |
-
def global_align(x, y, score):
|
62 |
-
matrix = get_matrix(len(x), len(y), score.gap)
|
63 |
-
trace_back = get_traceback_matrix(len(x), len(y))
|
64 |
-
for i in range(1, len(x) + 1):
|
65 |
-
for j in range(1, len(y) + 1):
|
66 |
-
left = matrix[i, j - 1] + score.gap
|
67 |
-
up = matrix[i - 1, j] + score.gap
|
68 |
-
diag = matrix[i - 1, j - 1] + score.mis_match_char(x[i - 1], y[j - 1])
|
69 |
-
matrix[i, j] = max(left, up, diag)
|
70 |
-
if matrix[i, j] == left:
|
71 |
-
trace_back[i, j] = 1
|
72 |
-
elif matrix[i, j] == up:
|
73 |
-
trace_back[i, j] = 2
|
74 |
-
else:
|
75 |
-
trace_back[i, j] = 3
|
76 |
-
return matrix, trace_back
|
77 |
-
|
78 |
-
|
79 |
-
def get_aligned_sequences(x, y, trace_back):
|
80 |
-
x_seq = []
|
81 |
-
y_seq = []
|
82 |
-
i = len(x)
|
83 |
-
j = len(y)
|
84 |
-
mapper_y_to_x = []
|
85 |
-
while i > 0 or j > 0:
|
86 |
-
if trace_back[i, j] == 3:
|
87 |
-
x_seq.append(x[i-1])
|
88 |
-
y_seq.append(y[j-1])
|
89 |
-
i = i-1
|
90 |
-
j = j-1
|
91 |
-
mapper_y_to_x.append((j, i))
|
92 |
-
elif trace_back[i][j] == 1:
|
93 |
-
x_seq.append('-')
|
94 |
-
y_seq.append(y[j-1])
|
95 |
-
j = j-1
|
96 |
-
mapper_y_to_x.append((j, -1))
|
97 |
-
elif trace_back[i][j] == 2:
|
98 |
-
x_seq.append(x[i-1])
|
99 |
-
y_seq.append('-')
|
100 |
-
i = i-1
|
101 |
-
elif trace_back[i][j] == 4:
|
102 |
-
break
|
103 |
-
mapper_y_to_x.reverse()
|
104 |
-
return x_seq, y_seq, torch.tensor(mapper_y_to_x, dtype=torch.int64)
|
105 |
-
|
106 |
-
|
107 |
-
def get_mapper(x: str, y: str, tokenizer, max_len=77):
|
108 |
-
x_seq = tokenizer.encode(x)
|
109 |
-
y_seq = tokenizer.encode(y)
|
110 |
-
score = ScoreParams(0, 1, -1)
|
111 |
-
matrix, trace_back = global_align(x_seq, y_seq, score)
|
112 |
-
mapper_base = get_aligned_sequences(x_seq, y_seq, trace_back)[-1]
|
113 |
-
alphas = torch.ones(max_len)
|
114 |
-
alphas[: mapper_base.shape[0]] = mapper_base[:, 1].ne(-1).float()
|
115 |
-
mapper = torch.zeros(max_len, dtype=torch.int64)
|
116 |
-
mapper[:mapper_base.shape[0]] = mapper_base[:, 1]
|
117 |
-
mapper[mapper_base.shape[0]:] = len(y_seq) + torch.arange(max_len - len(y_seq))
|
118 |
-
return mapper, alphas
|
119 |
-
|
120 |
-
|
121 |
-
def get_refinement_mapper(prompts, tokenizer, max_len=77):
|
122 |
-
x_seq = prompts[0]
|
123 |
-
mappers, alphas = [], []
|
124 |
-
for i in range(1, len(prompts)):
|
125 |
-
mapper, alpha = get_mapper(x_seq, prompts[i], tokenizer, max_len)
|
126 |
-
mappers.append(mapper)
|
127 |
-
alphas.append(alpha)
|
128 |
-
return torch.stack(mappers), torch.stack(alphas)
|
129 |
-
|
130 |
-
|
131 |
-
def get_word_inds(text: str, word_place: int, tokenizer):
|
132 |
-
split_text = text.split(" ")
|
133 |
-
if type(word_place) is str:
|
134 |
-
word_place = [i for i, word in enumerate(split_text) if word_place == word]
|
135 |
-
elif type(word_place) is int:
|
136 |
-
word_place = [word_place]
|
137 |
-
out = []
|
138 |
-
if len(word_place) > 0:
|
139 |
-
words_encode = [tokenizer.decode([item]).strip("#") for item in tokenizer.encode(text)][1:-1]
|
140 |
-
cur_len, ptr = 0, 0
|
141 |
-
|
142 |
-
for i in range(len(words_encode)):
|
143 |
-
cur_len += len(words_encode[i])
|
144 |
-
if ptr in word_place:
|
145 |
-
out.append(i + 1)
|
146 |
-
if cur_len >= len(split_text[ptr]):
|
147 |
-
ptr += 1
|
148 |
-
cur_len = 0
|
149 |
-
return np.array(out)
|
150 |
-
|
151 |
-
|
152 |
-
def get_replacement_mapper_(x: str, y: str, tokenizer, max_len=77):
|
153 |
-
words_x = x.split(' ')
|
154 |
-
words_y = y.split(' ')
|
155 |
-
if len(words_x) != len(words_y):
|
156 |
-
raise ValueError(f"attention replacement edit can only be applied on prompts with the same length"
|
157 |
-
f" but prompt A has {len(words_x)} words and prompt B has {len(words_y)} words.")
|
158 |
-
inds_replace = [i for i in range(len(words_y)) if words_y[i] != words_x[i]]
|
159 |
-
inds_source = [get_word_inds(x, i, tokenizer) for i in inds_replace]
|
160 |
-
inds_target = [get_word_inds(y, i, tokenizer) for i in inds_replace]
|
161 |
-
mapper = np.zeros((max_len, max_len))
|
162 |
-
i = j = 0
|
163 |
-
cur_inds = 0
|
164 |
-
while i < max_len and j < max_len:
|
165 |
-
if cur_inds < len(inds_source) and inds_source[cur_inds][0] == i:
|
166 |
-
inds_source_, inds_target_ = inds_source[cur_inds], inds_target[cur_inds]
|
167 |
-
if len(inds_source_) == len(inds_target_):
|
168 |
-
mapper[inds_source_, inds_target_] = 1
|
169 |
-
else:
|
170 |
-
ratio = 1 / len(inds_target_)
|
171 |
-
for i_t in inds_target_:
|
172 |
-
mapper[inds_source_, i_t] = ratio
|
173 |
-
cur_inds += 1
|
174 |
-
i += len(inds_source_)
|
175 |
-
j += len(inds_target_)
|
176 |
-
elif cur_inds < len(inds_source):
|
177 |
-
mapper[i, j] = 1
|
178 |
-
i += 1
|
179 |
-
j += 1
|
180 |
-
else:
|
181 |
-
mapper[j, j] = 1
|
182 |
-
i += 1
|
183 |
-
j += 1
|
184 |
-
|
185 |
-
return torch.from_numpy(mapper).float()
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
def get_replacement_mapper(prompts, tokenizer, max_len=77):
|
190 |
-
x_seq = prompts[0]
|
191 |
-
mappers = []
|
192 |
-
for i in range(1, len(prompts)):
|
193 |
-
mapper = get_replacement_mapper_(x_seq, prompts[i], tokenizer, max_len)
|
194 |
-
mappers.append(mapper)
|
195 |
-
return torch.stack(mappers)
|
196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|