Spaces:
Sleeping
Sleeping
Download utils.py from subbunanepalli/LogReg: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/spaces/subbunanepalli/LogReg/resolve/main/utils.py
- Command line
-
hf download hf://spaces/subbunanepalli/LogReg/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/subbunanepalli/LogReg/resolve/main/utils.py
2.01 kB
| def create_text_input(row): | |
| return f""" | |
| Transaction ID: {row['Transaction_Id']} | |
| Origin: {row['Origin']} | |
| Designation: {row['Designation']} | |
| Keywords: {row['Keywords']} | |
| Name: {row['Name']} | |
| SWIFT Tag: {row['SWIFT_Tag']} | |
| Currency: {row['Currency']} | |
| Entity: {row['Entity']} | |
| Message: {row['Message']} | |
| City: {row['City']} | |
| Country: {row['Country']} | |
| State: {row['State']} | |
| Hit Type: {row['Hit_Type']} | |
| Record Matching String: {row['Record_Matching_String']} | |
| WatchList Match String: {row['WatchList_Match_String']} | |
| Payment Sender: {row['Payment_Sender_Name']} | |
| Payment Receiver: {row['Payment_Reciever_Name']} | |
| Swift Message Type: {row['Swift_Message_Type']} | |
| Text Sanction Data: {row['Text_Sanction_Data']} | |
| Matched Sanctioned Entity: {row['Matched_Sanctioned_Entity']} | |
| Red Flag Reason: {row['Red_Flag_Reason']} | |
| Risk Level: {row['Risk_Level']} | |
| Risk Score: {row['Risk_Score']} | |
| CDD Level: {row['CDD_Level']} | |
| PEP Status: {row['PEP_Status']} | |
| Sanction Description: {row['Sanction_Description']} | |
| Checker Notes: {row['Checker_Notes']} | |
| Sanction Context: {row['Sanction_Context']} | |
| Maker Action: {row['Maker_Action']} | |
| Customer Type: {row['Customer_Type']} | |
| Industry: {row['Industry']} | |
| Transaction Type: {row['Transaction_Type']} | |
| Transaction Channel: {row['Transaction_Channel']} | |
| Geographic Origin: {row['Geographic_Origin']} | |
| Geographic Destination: {row['Geographic_Destination']} | |
| Risk Category: {row['Risk_Category']} | |
| Risk Drivers: {row['Risk_Drivers']} | |
| Alert Status: {row['Alert_Status']} | |
| Investigation Outcome: {row['Investigation_Outcome']} | |
| Source of Funds: {row['Source_Of_Funds']} | |
| Purpose of Transaction: {row['Purpose_Of_Transaction']} | |
| Beneficial Owner: {row['Beneficial_Owner']} | |
| """ | |